RequestFormBuilder class

Inheritance

Constructors

RequestFormBuilder({Map<String, dynamic>? parameters, Map<String, dynamic>? headers, Map<String, dynamic>? data})

Properties

data → dynamic
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, dynamic>?
finalinherited
parameters → Map<String, dynamic>?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String key, dynamic value) → RequestFormBuilder
addAll(Map<String, dynamic> data) → RequestFormBuilder
addFilesSync(String key, List<RequestFileItem> files) → RequestFormBuilder
addFileSync(String key, String filePath, {String? filename, MediaType? mediaType}) → RequestFormBuilder
build() → RequestModel
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