Lock class
Add lock/unlock API for interceptors.
Constructors
- Lock()
Properties
Methods
-
clear(
[String msg = 'cancelled']) → void - Clean the interceptor queue.
-
lock(
) → void - Lock the interceptor.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unlock(
) → void - Unlock the interceptor. please refer to lock()
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited