BaseApiClient class abstract
HTTP Client
- Implementers
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
-
delete(
String url, {dynamic data, String? token, Map< String, dynamic> headers, String contentType = 'application/json', int msTimeout = 10000}) → Future - HTTP DELETE
-
get(
String url, {String? token, dynamic responseType, Map< String, dynamic> queryParams, Map<String, dynamic> headers, int msTimeout = 10000}) → Future - HTTP GET
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(
String url, {dynamic data, String token, Map< String, dynamic> headers, String contentType = 'application/json', int msTimeout = 10000}) → Future - HTTP PATCH
-
post(
String url, {dynamic data, String? token, Map< String, dynamic> headers, String contentType = 'application/json', int msTimeout = 10000}) → Future - HTTP POST
-
put(
String url, {dynamic data, String? token, Map< String, dynamic> headers, String contentType = 'application/json', int msTimeout = 10000}) → Future - HTTP PUT
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited