copyWithWrapped method
Implementation
DeviceVerificationV2 copyWithWrapped(
{Wrapped<enums.VerificationResultV2?>? serialNumber,
Wrapped<enums.VerificationResultV2?>? controllerPin,
Wrapped<String?>? displayName,
Wrapped<DeviceAddressV2?>? generatorAddress,
Wrapped<String?>? homeownerFirstName,
Wrapped<String?>? homeownerLastName,
Wrapped<String?>? homeownerEmail,
Wrapped<bool?>? hasHomeownerConsent}) {
return DeviceVerificationV2(
serialNumber:
(serialNumber != null ? serialNumber.value : this.serialNumber),
controllerPin:
(controllerPin != null ? controllerPin.value : this.controllerPin),
displayName:
(displayName != null ? displayName.value : this.displayName),
generatorAddress: (generatorAddress != null
? generatorAddress.value
: this.generatorAddress),
homeownerFirstName: (homeownerFirstName != null
? homeownerFirstName.value
: this.homeownerFirstName),
homeownerLastName: (homeownerLastName != null
? homeownerLastName.value
: this.homeownerLastName),
homeownerEmail: (homeownerEmail != null
? homeownerEmail.value
: this.homeownerEmail),
hasHomeownerConsent: (hasHomeownerConsent != null
? hasHomeownerConsent.value
: this.hasHomeownerConsent));
}