HttpService class

Constructors

HttpService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
services AppstraxServices
final

Methods

delete(String url, {HttpOptions? options}) Future
fetchRefreshedTokens(Tokens tokens) Future<Tokens>
get(String url, {HttpOptions? options}) Future
getHeaders(HttpOptions? options, {bool isFile = false}) Future<Map<String, String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String url, Map<String, dynamic> body, {HttpOptions? options}) Future
post(String url, dynamic body, {HttpOptions? options}) Future
postFile(String url, File file, {HttpOptions? options}) Future<Response>
put(String url, Map<String, dynamic> body, {HttpOptions? options}) Future
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

handleResponse(Response response) → dynamic