CancellationToken class

Constructors

CancellationToken()

Properties

cancelError OperationCanceledError
if request have been canceled, save the cancel Error.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isCanceled bool
whether has canceled
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cancel([String msg]) → void
cancel operation
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
throwIfCancellationRequested() → void
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited