DateTimeTrigger
A trigger that triggers once at a specific date and time.
- Inheritance
-
- Object
- Serializable
- TriggerConfiguration
- DateTimeTrigger
- Implemented types
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
DateTimeTrigger.fromJson
DateTimeTrigger
- required DateTime schedule,
Creates a trigger that triggers at schedule.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
schedule
getter/setter pair
When to trigger. Nothing happens if this time has passed.
Methods
toJson
Return a JSON encoding of this object.