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 -
Available on MultipartRequest, provided by the MultipartRequestCopyWith extension
Creates a new instance of MultipartRequest based of onthis
. It copies all the properties and overrides the ones sent via parameters.