Api class

Constructors

Api({BuildContext? context2})

Properties

hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
no setter
isDataAsList ↔ bool?
getter/setter pair
isDataAsString ↔ bool?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeoutDuration ↔ Duration?
getter/setter pair

Methods

clearPaginator() → Paginator?
createPaginator() → Paginator?
execute(String _method, SellonMethod sellonMethod, Parameter _parameter, OnSuccessListener _onSuccessListener, {bool? isShowMessage, String? urlFix, bool? encrytion}) → dynamic
executeFuture(String _method, SellonMethod sellonMethod, Parameter _parameter, OnSuccessListener _onSuccessListener, {bool? encryption, String? urlFix}) → Future<String?>
executeUpload(String _method, SellonMethod sellonMethod, Parameter _parameter, {String? urlFix}) → Future<String>
getMimeType(String path) → String
getPaginator() → Paginator?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCompleteListener(OnCompleteListener _onCompleteListener) → Api
setErrorListener(OnErrorListener _onErrorListener) → Api
setExceptionListener(OnExceptionListener _onExceptionListener) → Api
setIsShowDialog(bool value) → Api
setSuccessListener(OnSuccessListener _onSuccessListener) → Api
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

createDefaultParams(OnCreateDefaultParamsListener callback) → dynamic
createParams() → Parameter