Skip to content

NoOpTrigger

A trigger that never triggers.

Used for tasks that need no trigger, like the MonitoringTask that SmartphoneStudyProtocol adds for each device.

Inheritance
Annotations

Constructors

NoOpTrigger.fromJson

NoOpTrigger.fromJson(
  1. Map<String, dynamic> json
)

NoOpTrigger

NoOpTrigger()

Creates a trigger that never triggers.

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.