ApiService class

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

init({required String baseUrl}) → void
Must be called once before using request. Example:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request({required HttpMethod method, required String url, dynamic data, Map<String, dynamic>? queryParameters, Options? options, Map<String, String>? headers, CancelToken? cancelToken, void onSendProgress(int, int)?, void onReceiveProgress(int, int)?, required void onCatchDioException(DioException), required void onCatchException(dynamic), required void onSuccess(Response)}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ApiService
final