Skip to content

ImmediateTrigger

A trigger that triggers immediately each time the study is resumed.

The task keeps running until the study is paused. Use OneTimeTrigger to trigger only once per deployment.

Inheritance
Annotations

Constructors

ImmediateTrigger.fromJson

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

ImmediateTrigger

ImmediateTrigger()

Creates a trigger that triggers immediately when the study is resumed.

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.