isReadLocked property

bool get isReadLocked

Indicates if one or more read locks has been acquired and not released.

Implementation

bool get isReadLocked => (0 < _state);