copyWith method
DealerOrgDTO
copyWith({ - int? id,
- String? businessPartnerNo,
- String? name,
- String? e164PhoneNumber,
- String? displayPhoneNumber,
- String? wizardStep,
- bool? wizardComplete,
- AddressDTO? address,
- int? userCount,
- int? technicianCount,
- int? deviceCount,
- List<String>? adminEmails,
})
Implementation
DealerOrgDTO copyWith(
{int? id,
String? businessPartnerNo,
String? name,
String? e164PhoneNumber,
String? displayPhoneNumber,
String? wizardStep,
bool? wizardComplete,
AddressDTO? address,
int? userCount,
int? technicianCount,
int? deviceCount,
List<String>? adminEmails}) {
return DealerOrgDTO(
id: id ?? this.id,
businessPartnerNo: businessPartnerNo ?? this.businessPartnerNo,
name: name ?? this.name,
e164PhoneNumber: e164PhoneNumber ?? this.e164PhoneNumber,
displayPhoneNumber: displayPhoneNumber ?? this.displayPhoneNumber,
wizardStep: wizardStep ?? this.wizardStep,
wizardComplete: wizardComplete ?? this.wizardComplete,
address: address ?? this.address,
userCount: userCount ?? this.userCount,
technicianCount: technicianCount ?? this.technicianCount,
deviceCount: deviceCount ?? this.deviceCount,
adminEmails: adminEmails ?? this.adminEmails);
}