TaskManager class
Constructors
- TaskManager.new({OnTaskEvent? onEvent})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onEvent → OnTaskEvent?
-
final
-
pendingTasks
→ List<
Task> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelAll(
) → void -
cancelTaskById(
String id) → void -
enqueue(
Task task) → void -
getStatus(
String id) → TaskStatus -
getTask(
String id) → Task? -
isCancelled(
String id) → bool -
isCompleted(
String id) → bool -
isRunning(
String id) → bool -
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