MultipartRequestBody class
This class is used to make a multipart request. The instance of this class need to be passed to HttpRestRequest.body. This class also provides progressListener which can be used to track the progress.
Constructors
-
MultipartRequestBody({required Map<
String, String> fields, required List<MultipartFile> files, HttpMultipartRequestProgressListener? progressListener}) -
const
Properties
-
fields
→ Map<
String, String> -
final
-
files
→ List<
MultipartFile> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- progressListener → HttpMultipartRequestProgressListener?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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