copyWith method

EventSendV3Body copyWith({
  1. DeviceEventId? id,
  2. DeviceEventLevelDTO? level,
  3. String? controllerOnTime,
  4. String? engineRuntime,
  5. FmiDTO? fmi,
  6. bool? isDateTimeEstimated,
  7. bool? active,
  8. DateTime? dateTime,
  9. ParameterId? parameterId,
  10. dynamic oldValue,
  11. 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);
}