MultipartRequestCopyWith extension

Extends MultipartRequest to provide copied instances.

on

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 on this. It copies all the properties and overrides the ones sent via parameters.