SchedulerManager class

SchedulerManager class that uses a CronExpression to execute tasks periodically.

Constructors

SchedulerManager(String cronExpression)

Properties

cron → Cron
final
cronExpression String
final
hashCode int
The hash code for this object.
no setterinherited
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
start(void task()) → void
Starts the periodic execution of a task based on the cron expression. task is a function with no parameters that encapsulates the invocation of the actual task function with its parameters.
stop() → void
Stops the periodic execution of the task.
toString() String
A string representation of this object.
inherited

Operators

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