copyWith method
EventSendV3Body
copyWith({ - DeviceEventId? id,
- DeviceEventLevelDTO? level,
- String? controllerOnTime,
- String? engineRuntime,
- FmiDTO? fmi,
- bool? isDateTimeEstimated,
- bool? active,
- DateTime? dateTime,
- ParameterId? parameterId,
- dynamic oldValue,
- dynamic newValue,
})
Implementation
EventSendV3Body copyWith(
{enums.DeviceEventId? id,
enums.DeviceEventLevelDTO? level,
String? controllerOnTime,
String? engineRuntime,
enums.FmiDTO? fmi,
bool? isDateTimeEstimated,
bool? active,
DateTime? dateTime,
enums.ParameterId? parameterId,
dynamic oldValue,
dynamic newValue}) {
return EventSendV3Body(
id: id ?? this.id,
level: level ?? this.level,
controllerOnTime: controllerOnTime ?? this.controllerOnTime,
engineRuntime: engineRuntime ?? this.engineRuntime,
fmi: fmi ?? this.fmi,
isDateTimeEstimated: isDateTimeEstimated ?? this.isDateTimeEstimated,
active: active ?? this.active,
dateTime: dateTime ?? this.dateTime,
parameterId: parameterId ?? this.parameterId,
oldValue: oldValue ?? this.oldValue,
newValue: newValue ?? this.newValue);
}