Task<R> class abstract

Implemented types

Constructors

Task({required String id, required Completer<R> completer, WorkPriority workPriority = WorkPriority.high})

Properties

canceled → bool
no setter
completer → Completer<R>
final
execution → Function
no setter
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
workPriority → WorkPriority
final

Methods

cancel() → void
compareTo(covariant Task other) → int
Compares this object to another object.
override
complete(R? value, Object? error, StackTrace? st) → void
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 ==(covariant Task other) → bool
The equality operator.
override