Task<R> class
abstract
- Implemented types
-
- Comparable<
Task< R> >
- Comparable<
- Implementers
Constructors
-
Task({required String id, required Completer<
R> completer, WorkPriority workPriority = WorkPriority.high})
Properties
-
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
-
compareTo(
covariant Task other) → int -
Compares this object to another object.
override
-
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