ElapsedTimeTrigger constructor

ElapsedTimeTrigger({
  1. String? sourceDeviceRoleName,
  2. bool? requiresPrimaryDevice = true,
  3. required Duration? elapsedTime,
})

Create a trigger that starts after elapsedTime has elapsed since the start of the study deployment.

Implementation

ElapsedTimeTrigger({
  super.sourceDeviceRoleName,
  super.requiresPrimaryDevice = true,
  required this.elapsedTime,
});