Task class Null safety

Constructors

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

Properties

busy bool
read / write
handler Future<void> Function(DateTime time)
final
hashCode int
The hash code for this object.
read-onlyinherited
period Duration?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
skip bool
final
time DateTime
read / write

Methods

check(DateTime now) bool
execute() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited