copyWith method
- String? displayName,
- DeviceAddress? address,
Implementation
DeviceUpdateData copyWith({
String? displayName,
DeviceAddress? address,
}) {
return DeviceUpdateData(
displayName: displayName ?? this.displayName,
address: address ?? this.address,
);
}