copyWith method

DeviceUpdateV3Body copyWith({
  1. String? displayName,
  2. AddressDTO? address,
  3. ConnectionTypeDTO? connectionType,
})

Implementation

DeviceUpdateV3Body copyWith(
    {String? displayName,
    AddressDTO? address,
    enums.ConnectionTypeDTO? connectionType}) {
  return DeviceUpdateV3Body(
      displayName: displayName ?? this.displayName,
      address: address ?? this.address,
      connectionType: connectionType ?? this.connectionType);
}