ScheduledTrigger constructor Null safety

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

Implementation

ScheduledTrigger({
  String? sourceDeviceRoleName,
  bool? requiresMasterDevice = false,
  required this.time,
  required this.recurrenceRule,
}) : super(
        sourceDeviceRoleName: sourceDeviceRoleName,
        requiresMasterDevice: requiresMasterDevice,
      );