NoOpTrigger
A trigger that never triggers.
Used for tasks that need no trigger, like the MonitoringTask that SmartphoneStudyProtocol adds for each device.
- Inheritance
-
- Object
- Serializable
- TriggerConfiguration
- NoOpTrigger
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
NoOpTrigger.fromJson
NoOpTrigger
Creates a trigger that never triggers.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
toJson
Return a JSON encoding of this object.