copyWith method

OncueVerificationDeviceV2 copyWith({
  1. String? serialNumber,
  2. String? model,
  3. String? displayName,
  4. DeviceAddressV2? address,
})

Implementation

OncueVerificationDeviceV2 copyWith(
    {String? serialNumber,
    String? model,
    String? displayName,
    DeviceAddressV2? address}) {
  return OncueVerificationDeviceV2(
      serialNumber: serialNumber ?? this.serialNumber,
      model: model ?? this.model,
      displayName: displayName ?? this.displayName,
      address: address ?? this.address);
}