copyWith method

HomeownerDeviceAdditionV3Body copyWith({
  1. String? serialNumber,
  2. String? controllerPin,
  3. String? displayName,
  4. 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);
}