isLocked property

bool get isLocked

Indicates if a lock has been acquired and not released.

Implementation

bool get isLocked => _mutex.isLocked;