ElapsedTimeTrigger constructor Null safety

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

Implementation

ElapsedTimeTrigger({
  String? sourceDeviceRoleName,
  bool? requiresMasterDevice = true,
  this.elapsedTime,
}) : super(
        sourceDeviceRoleName: sourceDeviceRoleName,
        requiresMasterDevice: requiresMasterDevice,
      );