copyWith method

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

Implementation

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