ApiClient class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
httpClient
→ Client
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAPI(String url, dynamic data, {int timeout = 20, bool isFullPath = false})
→ Future<BaseResponse>
-
-
getAPI2(String url, {int timeout = 20, bool isFullPath = false})
→ Future<String>
-
-
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, {bool fullPath = false, int timeout = 20, Map<String, String>? body, List<String>? files, List<FileByte>? realFiles, String paramFile = 'attachment[file][]'})
→ Future<BaseResponse>
-
-
postAPI2(String url, {int timeout = 20, String method = 'POST', bool isFullPath = false, Map<String, String>? body, })
→ Future<String>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
trackApp(String path, {String? urlPath, String method = 'onTap', String? clientKey})
→ Future<void>
-