Task class

Constructors

Task(DateTime time, Future<void> handler(DateTime time), {Duration? period, bool skip = false})

Properties

busy bool
getter/setter pair
handler Future<void> Function(DateTime time)
final
hashCode int
The hash code for this object.
no setterinherited
period Duration?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skip bool
final
time DateTime
getter/setter pair

Methods

check(DateTime now) bool
execute() Future<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 ==(Object other) bool
The equality operator.
inherited