Lock constructor Null safety

Lock(
  1. {bool awaitChecking: false}
)

Implementation

Lock({this.awaitChecking = false});