HttpClient class

Constructors

HttpClient()

Properties

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

Methods

findById() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update() → dynamic

Operators

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

Static Methods

delete(String? id, String? resourceUrl, {String? baseUrl, String? username, String? password, Database? database, Dio? dioTestClient}) Future<HttpResponse>
get(String resourceUrl, {String? baseUrl, String? username, String? password, Database? database, Dio? dioTestClient}) Future<HttpResponse>
getHttpDetails({String? baseUrl, String? username, String? password, Database? database}) Future<String>
post(String resourceUrl, dynamic data, {String? baseUrl, String? username, String? password, Database? database, Dio? dioTestClient}) Future<HttpResponse>
put(String resourceUrl, dynamic data, {String? baseUrl, String? username, String? password, Database? database, Dio? dioTestClient}) Future<HttpResponse>