IsolateHttpRequest class

The request using for Isolate Http.

Constructors

IsolateHttpRequest(String url, {String method = HttpMethod.get, Map<String, String>? query, Map<String, String>? headers, Object? body, List<HttpFile>? files})
The request using for Isolate Http.

Properties

body Object?
The body of the request.
final
contentLength int?
The size of the request body, in bytes.
getter/setter pair
files List<HttpFile>?
List of files to be uploaded of the request.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
The headers of the request.
final
method String
The HttpMethod of the request.
final
query Map<String, String>?
List queryParameters in http
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri?
Convert url and query to full link request (Uri)
no setter
url String
The url to which the request will be sent.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toRequest() Future<BaseRequest?>
Convert IsolateHttpRequest to BaseRequest (The base class for HTTP requests).
toString() String
A string representation of this object.
inherited

Operators

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