Queue class
A queue for executing jobs.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
Future< void> job()) → void - Adds a job to the queue.
-
clear(
) → void - Removes all jobs from the queue.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
Future< void> job()) → void - Removes a job from the queue.
-
run(
) → Future< void> - Runs all the jobs in the queue in order, waiting for each job to finish before starting the next one.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited