copyWith method

DealerEveronAdditionV3Body copyWith({
  1. String? serialNumber,
  2. InstallationTypeDTO? installationType,
  3. String? displayName,
  4. FuelTypeDTO? fuelType,
  5. String? timezone,
})

Implementation

DealerEveronAdditionV3Body copyWith(
    {String? serialNumber,
    enums.InstallationTypeDTO? installationType,
    String? displayName,
    enums.FuelTypeDTO? fuelType,
    String? timezone}) {
  return DealerEveronAdditionV3Body(
      serialNumber: serialNumber ?? this.serialNumber,
      installationType: installationType ?? this.installationType,
      displayName: displayName ?? this.displayName,
      fuelType: fuelType ?? this.fuelType,
      timezone: timezone ?? this.timezone);
}