copyWithWrapped method
DealerDeviceAdditionV3Body
copyWithWrapped({ - Wrapped<ConnectionTypeDTO?>? connectionType,
- Wrapped<String?>? serialNumber,
- Wrapped<String?>? controllerPin,
- Wrapped<String?>? displayName,
- Wrapped<AddressDTO?>? address,
- Wrapped<String?>? homeownerFirstName,
- Wrapped<String?>? homeownerLastName,
- Wrapped<String?>? homeownerEmail,
- Wrapped<HomeownerConsentActionDTO?>? homeownerConsentAction,
- Wrapped<String?>? homeownerSignature,
- Wrapped<bool?>? hasServiceAgreement,
- Wrapped<DateTime?>? serviceAgreementBeginDate,
- Wrapped<ServiceAgreementTermDTO?>? serviceAgreementTerm,
- Wrapped<int?>? serviceAgreementTermMonths,
- Wrapped<int?>? serviceAgreementTermDays,
})
Implementation
DealerDeviceAdditionV3Body copyWithWrapped(
{Wrapped<enums.ConnectionTypeDTO?>? connectionType,
Wrapped<String?>? serialNumber,
Wrapped<String?>? controllerPin,
Wrapped<String?>? displayName,
Wrapped<AddressDTO?>? address,
Wrapped<String?>? homeownerFirstName,
Wrapped<String?>? homeownerLastName,
Wrapped<String?>? homeownerEmail,
Wrapped<enums.HomeownerConsentActionDTO?>? homeownerConsentAction,
Wrapped<String?>? homeownerSignature,
Wrapped<bool?>? hasServiceAgreement,
Wrapped<DateTime?>? serviceAgreementBeginDate,
Wrapped<enums.ServiceAgreementTermDTO?>? serviceAgreementTerm,
Wrapped<int?>? serviceAgreementTermMonths,
Wrapped<int?>? serviceAgreementTermDays}) {
return DealerDeviceAdditionV3Body(
connectionType: (connectionType != null
? connectionType.value
: this.connectionType),
serialNumber:
(serialNumber != null ? serialNumber.value : this.serialNumber),
controllerPin:
(controllerPin != null ? controllerPin.value : this.controllerPin),
displayName:
(displayName != null ? displayName.value : this.displayName),
address: (address != null ? address.value : this.address),
homeownerFirstName: (homeownerFirstName != null
? homeownerFirstName.value
: this.homeownerFirstName),
homeownerLastName: (homeownerLastName != null
? homeownerLastName.value
: this.homeownerLastName),
homeownerEmail: (homeownerEmail != null
? homeownerEmail.value
: this.homeownerEmail),
homeownerConsentAction: (homeownerConsentAction != null
? homeownerConsentAction.value
: this.homeownerConsentAction),
homeownerSignature: (homeownerSignature != null
? homeownerSignature.value
: this.homeownerSignature),
hasServiceAgreement: (hasServiceAgreement != null
? hasServiceAgreement.value
: this.hasServiceAgreement),
serviceAgreementBeginDate: (serviceAgreementBeginDate != null
? serviceAgreementBeginDate.value
: this.serviceAgreementBeginDate),
serviceAgreementTerm: (serviceAgreementTerm != null
? serviceAgreementTerm.value
: this.serviceAgreementTerm),
serviceAgreementTermMonths: (serviceAgreementTermMonths != null
? serviceAgreementTermMonths.value
: this.serviceAgreementTermMonths),
serviceAgreementTermDays: (serviceAgreementTermDays != null
? serviceAgreementTermDays.value
: this.serviceAgreementTermDays));
}