DioClient class
Properties
-
dio
↔ Dio
-
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
-
downloadData({required String endPoint, String? fileName, String? filePath, Object? data, Map<String, dynamic>? queryParameters, String? token, String? bypass, String contentType = Headers.formUrlEncodedContentType})
→ Future<ApiResults?>
-
-
getData({required String endPoint, Map<String, dynamic>? queryParameters, String? token, String? bypass, String contentType = Headers.jsonContentType, Options? opions})
→ Future<ApiResults?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
postData({required String endPoint, Object? data, Map<String, dynamic>? queryParameters, bool formData = false, String? token, String? bypass, String contentType = Headers.formUrlEncodedContentType, ProgressCallback? uploadProgress})
→ Future<ApiResults?>
-
-
toString()
→ String
-
A string representation of this object.
inherited