lock property Null safety

Lock lock
read / write

Implementation

var lock = Lock();