copyWithWrapped method
DealerInfoV2
copyWithWrapped({ - Wrapped<int?>? dealerOrgId,
- Wrapped<String?>? dealerId,
- Wrapped<String?>? dealerName,
- Wrapped<String?>? address,
- Wrapped<DeviceAddressV2?>? fullAddress,
- Wrapped<int?>? totalTechnicians,
- Wrapped<int?>? totalGenSets,
- Wrapped<String?>? wizardStep,
- Wrapped<bool?>? hasCompletedWizard,
- Wrapped<String?>? adminEmails,
})
Implementation
DealerInfoV2 copyWithWrapped(
{Wrapped<int?>? dealerOrgId,
Wrapped<String?>? dealerId,
Wrapped<String?>? dealerName,
Wrapped<String?>? address,
Wrapped<DeviceAddressV2?>? fullAddress,
Wrapped<int?>? totalTechnicians,
Wrapped<int?>? totalGenSets,
Wrapped<String?>? wizardStep,
Wrapped<bool?>? hasCompletedWizard,
Wrapped<String?>? adminEmails}) {
return DealerInfoV2(
dealerOrgId:
(dealerOrgId != null ? dealerOrgId.value : this.dealerOrgId),
dealerId: (dealerId != null ? dealerId.value : this.dealerId),
dealerName: (dealerName != null ? dealerName.value : this.dealerName),
address: (address != null ? address.value : this.address),
fullAddress:
(fullAddress != null ? fullAddress.value : this.fullAddress),
totalTechnicians: (totalTechnicians != null
? totalTechnicians.value
: this.totalTechnicians),
totalGenSets:
(totalGenSets != null ? totalGenSets.value : this.totalGenSets),
wizardStep: (wizardStep != null ? wizardStep.value : this.wizardStep),
hasCompletedWizard: (hasCompletedWizard != null
? hasCompletedWizard.value
: this.hasCompletedWizard),
adminEmails:
(adminEmails != null ? adminEmails.value : this.adminEmails));
}