locked property

  1. @override
bool get locked
override

returns true if the lock is currently locked.

Implementation

@override
bool get locked => innerLocks.length > 1;