Schedule class

Inheritance

Constructors

Schedule(String name)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the resource.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asRequest() → ResourceDeclareRequest
override
cron(String cronExpression, IntervalHandler handler, {List<IntervalHandler> middlewares = const []}) Future<void>
Run the handler at a certain interval defined by the cronExpression.
every(String rate, IntervalHandler handler, {List<IntervalHandler> middlewares = const []}) Future<void>
Run the handler at a certain interval defined by the rate. 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