Schedule class
Properties
Methods
-
asRequest(
) → ResourceDeclareRequest -
override
-
cron(
String cronExpression, IntervalHandler handler, {List< IntervalHandler> middlewares = const []}) → Future<void> -
Run the
handler
at a certain interval defined by thecronExpression
. -
every(
String rate, IntervalHandler handler, {List< IntervalHandler> middlewares = const []}) → Future<void> -
Run the
handler
at a certain interval defined by therate
. E.g. '7 days', '3 hours', '30 minutes'. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
) → Future< void> -
Register the resource with the Nitric server. Handles shutting down the channel.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited