StreamedRequestCopyWith extension
Extends StreamedRequest to provide copied instances.
Methods
-
copyWith(
{HttpMethod? method, Uri? url, Map< String, String> ? headers, Stream<List< ? stream, bool? followRedirects, int? maxRedirects, bool? persistentConnection}) → StreamedRequestint> > -
Available on StreamedRequest, provided by the StreamedRequestCopyWith extension
Creates a new instance of StreamedRequest based of onthis
. It copies all the properties and overrides the ones sent via parameters.