MBMultipartForm class

This class represents an object that will be uploaded using multipart method

Constructors

MBMultipartForm.file(String name, String? path, MediaType? mimeType)
Initializes a MBMultipartForm object with name and a file
MBMultipartForm.name(String name, String? value)
Initializes a MBMultipartForm object with a name and a string value

Properties

hashCode int
The hash code for this object.
no setterinherited
isFile bool
If this class represents a file.
final
mimeType MediaType?
If it's a file, the mimeType of the file
final
name String
The name of the parameter
final
path String?
If it's a file, the path of the file
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
The value of the parameter, if it's not a file
final

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