copyWith method
UnsupportedProtocolVersionErrorError
copyWith({
- UnsupportedProtocolVersionErrorErrorData? data,
- String? message,
A copy with the given properties replaced; everything else, unknown keys included, is kept.
Implementation
UnsupportedProtocolVersionErrorError copyWith({
UnsupportedProtocolVersionErrorErrorData? data,
String? message,
}) =>
UnsupportedProtocolVersionErrorError.fromJson({
...toJson(),
if (data != null) 'data': $encode(data),
if (message != null) 'message': $encode(message),
});