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