HttpClient class
http client to send api calls
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
delete(
String endPoint, [String? json]) → void -
get<
T> (String endPoint, {void callback(T?)?, void listCallback(List< T> ?)?}) → void -
getResponse(
String endPoint, void callback(Response)) → void -
getRoot(
) → String -
patch(
String endPoint, String json) → void -
post(
String endPoint, String json, [void callback(Response)?]) → void -
put(
String endPoint, String json) → void -
refresh(
String id, String refresh, String type, Function callback) → void