replace method
Response
replace({
- List<
int> ? bodyBytes, - String? bodyString,
- int? status,
- String? statusText,
- Map<
String, String> ? headers,
override
Create a new Response using all the values from this instance except for the parameters specified.
Implementation
@override
Response replace(
{List<int>? bodyBytes,
String? bodyString,
int? status,
String? statusText,
Map<String, String>? headers}) {
return _response.replace(
bodyBytes: bodyBytes,
bodyString: bodyString,
status: status,
statusText: statusText,
headers: headers);
}