ApiHttpClient class

Implemented types

Constructors

ApiHttpClient({required Dio dio})

Properties

dio → Dio
final
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, {Map<String, String>? headers, Map<String, String>? queryParams, Object? body}) Future<RestApiResponse>
override
get(String url, {Map<String, String>? headers, Map<String, String>? queryParams}) Future<RestApiResponse>
override
handleError(dynamic exception, StackTrace stackTrace) RestApiResponse
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String url, {Map<String, String>? headers, Map<String, String>? queryParams, Object? body, String? contentType}) Future<RestApiResponse>
override
toString() String
A string representation of this object.
inherited

Operators

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