copyWith method
DealerInfoV2
copyWith({ - int? dealerOrgId,
- String? dealerId,
- String? dealerName,
- String? address,
- DeviceAddressV2? fullAddress,
- int? totalTechnicians,
- int? totalGenSets,
- String? wizardStep,
- bool? hasCompletedWizard,
- String? adminEmails,
})
Implementation
DealerInfoV2 copyWith(
{int? dealerOrgId,
String? dealerId,
String? dealerName,
String? address,
DeviceAddressV2? fullAddress,
int? totalTechnicians,
int? totalGenSets,
String? wizardStep,
bool? hasCompletedWizard,
String? adminEmails}) {
return DealerInfoV2(
dealerOrgId: dealerOrgId ?? this.dealerOrgId,
dealerId: dealerId ?? this.dealerId,
dealerName: dealerName ?? this.dealerName,
address: address ?? this.address,
fullAddress: fullAddress ?? this.fullAddress,
totalTechnicians: totalTechnicians ?? this.totalTechnicians,
totalGenSets: totalGenSets ?? this.totalGenSets,
wizardStep: wizardStep ?? this.wizardStep,
hasCompletedWizard: hasCompletedWizard ?? this.hasCompletedWizard,
adminEmails: adminEmails ?? this.adminEmails);
}