DioClientExtended class

This is a super class for handling all api integration.

Constructors

DioClientExtended.new({required String baseUrl})

Properties

dioClient ↔ Dio
dioClient is a Dio object.
getter/setter pair
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({required String path, Map<String, dynamic>? queryParameters, Map<String, dynamic>? body, Map<String, dynamic>? headers, String contentType = 'application/json; charset=UTF-8'}) Future<Response>
get({required String path, void onReceiveProgress(int, int)?, Map<String, dynamic>? queryParameters, String contentType = 'application/json', Map<String, dynamic>? headers}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({required String path, Map<String, dynamic>? queryParameters, Map<String, dynamic>? body, Map<String, dynamic>? headers, String contentType = 'application/json', void onSendProgress(int, int)?, void onReceiveProgress(int, int)?}) Future<Response>
post({required String path, void onSendProgress(int, int)?, void onReceiveProgress(int, int)?, Map<String, dynamic>? queryParameters, String contentType = 'application/json', Map<String, dynamic>? headers, Map<String, dynamic>? body}) Future<Response>
put({required String path, Map<String, dynamic>? queryParameters, Map<String, dynamic>? body, Map<String, dynamic>? headers, String contentType = 'application/json', void onSendProgress(int, int)?, void onReceiveProgress(int, int)?}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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