MultipartUrlRequest class
This class represents all the fields that can be required by multipart request of a network call, in such a way that it encapsulates the implementation for the rest of the projects.
- Inheritance
-
- Object
- UrlRequest
- MultipartUrlRequest
Constructors
-
MultipartUrlRequest(Uri url, MethodRequest method, {Map<
String, String> ? headers, Object? body, Encoding? encoding, Map<String, String> ? filesMultipart, Map<String, dynamic> ? fieldsMultipart}) -
MultipartUrlRequest.fromStringUrl(String uriString, MethodRequest method, {Map<
String, String> ? headers, Object? body, Encoding? encoding, Map<String, String> ? filesMultipart, Map<String, dynamic> ? fieldsMultipart})
Properties
- body ↔ Object?
-
getter/setter pairinherited
- encoding ↔ Encoding?
-
getter/setter pairinherited
-
fieldsMultipart
↔ Map<
String, dynamic> ? -
getter/setter pair
-
filesMultipart
↔ Map<
String, String> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, String> ? -
getter/setter pairinherited
- method ↔ MethodRequest
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ Uri
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited