copyWith method
- String? serialNumber,
- String? controllerPin,
- String? displayName,
- AddressDTO? address,
Implementation
HomeownerDeviceAdditionV3Body copyWith(
{String? serialNumber,
String? controllerPin,
String? displayName,
AddressDTO? address}) {
return HomeownerDeviceAdditionV3Body(
serialNumber: serialNumber ?? this.serialNumber,
controllerPin: controllerPin ?? this.controllerPin,
displayName: displayName ?? this.displayName,
address: address ?? this.address);
}