HttpPost class

Inheritance
Available extensions

Constructors

HttpPost.new(Uri uri)

Properties

contentType String?
getter/setter pair
encoding Encoding
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
method String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
finalinherited

Methods

argList(List<(String, dynamic)>? args) → T

Available on T, provided by the BaseHttpExt extension

argPairs(List<LabelValue>? args) → T

Available on T, provided by the BaseHttpExt extension

args(Map<String, String>? args) → T

Available on T, provided by the BaseHttpExt extension

bodyBytes(List<int> body) HttpPost
bodyJson(String body) HttpPost
bodyText(String body, {String? contentType, Encoding? encoding}) HttpPost
bodyTextPlain(String body) HttpPost
bodyXML(String body) HttpPost
download({required File toFile, ProgressCallback? onProgress}) Future<HttpResult>
inherited
headers(Map<String, String>? headers) → T

Available on T, provided by the BaseHttpExt extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareRequest() → BaseRequest
override
request({bool readBytes = true}) Future<HttpResult>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited