Api 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
-
delete(String url, BuildContext? context, {Map<String, dynamic>? params, String? alertTitle, bool auth = true, Function? onStart, Function? onSuccess, Function? onFinish, Function? onError, bool silent = false, bool mock = false})
→ dynamic
-
-
get(String url, BuildContext? context, {Map<String, String>? params, String? alertTitle, bool auth = true, Function? onStart, Function? onSuccess, Function? onFinish, Function? onError, bool silent = false})
→ dynamic
-
-
options({required String baseUrl, ApiAuthorization? authorization, List<ApiInterceptor>? interceptors, int? timeout})
→ dynamic
-
-
patch(String url, BuildContext? context, {Map<String, dynamic>? params, String? alertTitle, bool auth = true, Function? onStart, Function? onSuccess, Function? onFinish, Function? onError, bool silent = false, bool mock = false})
→ dynamic
-
-
post(String url, BuildContext? context, {Map<String, dynamic>? params, String? alertTitle, bool auth = true, Function? onStart, Function? onSuccess, Function? onFinish, Function? onError, bool silent = false})
→ dynamic
-
-
url(dynamic url)
→ String
-