copyWith method
Implementation
DeviceVerificationV2 copyWith(
{enums.VerificationResultV2? serialNumber,
enums.VerificationResultV2? controllerPin,
String? displayName,
DeviceAddressV2? generatorAddress,
String? homeownerFirstName,
String? homeownerLastName,
String? homeownerEmail,
bool? hasHomeownerConsent}) {
return DeviceVerificationV2(
serialNumber: serialNumber ?? this.serialNumber,
controllerPin: controllerPin ?? this.controllerPin,
displayName: displayName ?? this.displayName,
generatorAddress: generatorAddress ?? this.generatorAddress,
homeownerFirstName: homeownerFirstName ?? this.homeownerFirstName,
homeownerLastName: homeownerLastName ?? this.homeownerLastName,
homeownerEmail: homeownerEmail ?? this.homeownerEmail,
hasHomeownerConsent: hasHomeownerConsent ?? this.hasHomeownerConsent);
}