lock method

  1. @protected
void lock()

Locks this padlock.

Implementation

@protected
void lock() => _isLocked = true;