ApiClient class
Methods
-
getAPI(String path, dynamic data, {bool hasDomain = true, int timeout = 20})
→ Future<BaseResponse>
-
-
getFile(String url, {int timeout = 20})
→ Future<Uint8List?>
-
-
getString(String url, {int timeout = 20})
→ Future<String>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
postAPI(String url, String method, dynamic data, {Map<String, String>? body, List? realFiles, List<String>? files, String paramFile = 'file', int timeout = 20})
→ Future<BaseResponse>
-
-
postJsonAPI(String url, dynamic data, dynamic body, {int timeout = 20})
→ Future<BaseResponse>
-
-
postRealJsonAPI(String url, Map<String, dynamic> body, {int timeout = 20})
→ Future<Map<String, dynamic>>
-
-
toString()
→ String
-
A string representation of this object.
inherited