FetchResponse constructor
FetchResponse(})
Creates a new cancelable streaming response.
stream
should be a single-subscription stream.
Implementation
FetchResponse(super.stream, super.statusCode, {
required this.cancel,
required this.url,
required this.redirected,
super.contentLength,
super.request,
super.headers,
super.isRedirect,
super.persistentConnection,
super.reasonPhrase,
});