Scheduled class

Represents an annotation for scheduling tasks with various parameters.

Constructors

Scheduled({String? cron, int? fixedDelay, String? fixedDelayString, int? fixedRate, String? fixedRateString, int? initialDelay, String? initialDelayString, String? scheduler, TimeUnit? timeUnit, String? zone})
Constructor for the Scheduled annotation.
const

Properties

cron String?
A cron-like expression defining the triggers for the scheduled method.
final
fixedDelay int?
The fixed delay between the end of the last invocation and the start of the next.
final
fixedDelayString String?
The fixed delay between the end of the last invocation and the start of the next, parsed from a string.
final
fixedRate int?
The fixed rate of execution, specifying the period between invocations.
final
fixedRateString String?
The fixed rate of execution, parsed from a string.
final
hashCode int
The hash code for this object.
no setterinherited
initialDelay int?
The number of units of time to delay before the first execution of a fixed-rate or fixed-delay task.
final
initialDelayString String?
The number of units of time to delay before the first execution, parsed from a string.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduler String?
A qualifier for determining a scheduler to run this scheduled method on.
final
timeUnit TimeUnit?
The time unit to use for fixedDelay, fixedDelayString, fixedRate, fixedRateString, initialDelay, and initialDelayString.
final
zone String?
A time zone for which the cron expression will be resolved.
final

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