BaseHttp class abstract

Implementers
Available extensions

Constructors

BaseHttp(String method, Uri uri)

Properties

arguments Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
headerMap Map<String, String>
final
method String
final
result HttpResult
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
final

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, dynamic>? args) → T

Available on T, provided by the BaseHttpExt extension

download({required File toFile, ProgressCallback? progress}) Future<XResult<bool>>
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
requestBytes([ProgressCallback? progress]) Future<XResult<Uint8List>>
requestStream() Future<StreamedResponse>
requestText([Encoding encoding = utf8]) Future<XResult<String>>
toString() String
A string representation of this object.
inherited

Operators

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