Lock class

Add lock/unlock API for interceptors.

Constructors

Lock()

Properties

hashCode int
The hash code for this object.
no setterinherited
locked bool
Whether this interceptor has been locked.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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