FutureWithCancel class

Cancellable Future.

Future can be cancelled, if cancel callback is provided. Check Cancel effect for details and example usage.

Constructors

FutureWithCancel(Future future, Callback cancel)
Creates an instance of a FutureWithCancel.

Properties

cancel Callback
Cancellation callback.
getter/setter pair
future Future
Result future object.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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