AppHttpClient class

Constructors

AppHttpClient(String _key, String _scheme, String _server, int port)

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
getter/setter pair
port int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverKey → dynamic
no setter
serverPort → dynamic
no setter
serverUrl → dynamic
no setter

Methods

delete(String url, {Object? body}) Future<Response>
get(String url, {Map<String, dynamic>? body}) Future<Response>
getHeaders() Map<String, String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String url, {Object? body}) Future<Response>
post(String url, {Object? body}) Future<Response>
postFile(String path, String filePath) Future<Response>
registerDevice(SharedPreferences prefs, {String? userId}) → dynamic
setAuthHeader(String? value) → void
toString() String
A string representation of this object.
inherited

Operators

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