StreamedRequestCopyWith extension

Extends StreamedRequest to provide copied instances.

on

Methods

copyWith({HttpMethod? method, Uri? url, Map<String, String>? headers, Stream<List<int>>? stream, bool? followRedirects, int? maxRedirects, bool? persistentConnection}) StreamedRequest
Creates a new instance of StreamedRequest based of on this. It copies all the properties and overrides the ones sent via parameters.