RequestApiHelper class

Constructors

RequestApiHelper()

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

Operators

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

Static Properties

baseData RequestApiHelperData?
Of RequestApiHelperData,RequestApiHelperDownloadData
getter/setter pair
loadingRoute Route?
getter/setter pair
log List<String>
getter/setter pair
nowRoute Route?
getter/setter pair
totalDataUsed int
getter/setter pair

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