Req class

Constructors

Req({int timeout = 60})

Properties

hashCode int
The hash code for this object.
no setterinherited
http HttpClient
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int
getter/setter pair

Methods

get(String url, {Map<String, String>? headers}) Future<HttpClientResponse>
getUri(Uri url, {Map<String, String>? headers}) Future<HttpClientResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String url, {String? body, Map<String, String>? headers}) Future<HttpClientResponse>
postUri(Uri url, {String? body, Map<String, String>? headers}) Future<HttpClientResponse>
toString() String
A string representation of this object.
inherited

Operators

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