ScheduledTrigger constructor

ScheduledTrigger({
  1. String? sourceDeviceRoleName,
  2. bool? requiresPrimaryDevice = false,
  3. required TimeOfDay time,
  4. required RecurrenceRule recurrenceRule,
})

Create a trigger that is scheduled at time and repeats according to the recurrenceRule.

Implementation

ScheduledTrigger({
  super.sourceDeviceRoleName,
  super.requiresPrimaryDevice = false,
  required this.time,
  required this.recurrenceRule,
});