copyWith method

SetGeneratorMaintenanceNoteRequestModel copyWith({
  1. int? deviceId,
  2. String? dealerEmail,
  3. String? maintenanceNote,
})

Implementation

SetGeneratorMaintenanceNoteRequestModel copyWith(
    {int? deviceId, String? dealerEmail, String? maintenanceNote}) {
  return SetGeneratorMaintenanceNoteRequestModel(
      deviceId: deviceId ?? this.deviceId,
      dealerEmail: dealerEmail ?? this.dealerEmail,
      maintenanceNote: maintenanceNote ?? this.maintenanceNote);
}