copyWith method
Implementation
CustomServiceParams copyWith({
Map<String, String>? headers,
RequestMethod? requestMethod,
BuBytes? body,
Uri? path,
}) {
return CustomServiceParams(
headers: headers ?? this.headers,
requestMethod: requestMethod ?? this.requestMethod,
body: body ?? this.body,
path: path ?? this.path,
responseEncoding: responseEncoding,
);
}