RequestApiHelper 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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
addLog(String command)
→ dynamic
-
-
init(RequestApiHelperConfig data, {int maxDownload = 10, bool encryptedSession = false, bool useMultiThread = true, bool openAllSecurityForMultiThread = false})
→ Future<void>
-
-
initState({BuildContext? hasContext})
→ dynamic
-
-
replaceNameTo(String route, {Object? arguments})
→ Future
-
-
replaceTo(Route route)
→ Future
-
-
request({dynamic url, required Api type, required RequestApiHelperData config, RequestApiHelperDownloadData? download, dynamic onProgress(int uploaded, int total)?})
→ Future
-
-
save(RequestApiHelperConfig data, {bool initial = false, int maxDownload = 10})
→ Future<void>
-
-
sendRequest({dynamic url, required Api type, RequestApiHelperConfig? config, int? replacementId, bool runInBackground = false, dynamic onProgress(int current, int total)?, bool withLoading = false, int repeat = 0})
→ Future<RequestStack>
-
-
to({Route? route, String? name, Object? arguments})
→ Future
-