MultipartRequestCopyWith extension
Extends MultipartRequest to provide copied instances.
Methods
-
copyWith(
{HttpMethod? method, Uri? url, Map< String, String> ? headers, Map<String, String> ? fields, List<MultipartFile> ? files, bool? followRedirects, int? maxRedirects, bool? persistentConnection}) → MultipartRequest -
Creates a new instance of MultipartRequest based of on
this
. It copies all the properties and overrides the ones sent via parameters.