Task class
A task which runs once on or after runAfter.
Constructors
- Task({required TaskFunction func, required int runAfter, int? interval, Level? level})
-
Create a task.
const
Properties
- func → TaskFunction
-
The function which this task will run.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval → int?
-
How regularly this task should run.
final
- level → Level?
-
The level this task is bound to.
final
- runAfter → int
-
How many milliseconds should elapse before func is called.
final
- 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