HttpBodyMultipart class

Multi-part form data. The Content-Type header will be overridden to multipart/form-data with a random boundary.

Inheritance

Constructors

HttpBodyMultipart.list(List<(String, MultipartItem)> list)
Public in case you want to create a list of form data manually.
const
factory
HttpBodyMultipart.map(Map<String, MultipartItem> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
parts List<(String, MultipartItem)>
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