ApiService 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
-
apiGet({required String endpoint, Map<String, dynamic>? queryParameters, required BuildContext context})
→ Future
-
GET method for REST API call
-
apiPatch({required String endpoint, Map<String, dynamic>? body, required BuildContext context})
→ Future
-
PATCH method for REST API call
-
apiPosAuth({required String endpoint, required Map<String, dynamic> body, required BuildContext context})
→ Future
-
-
apiPost({required String endpoint, required Map<String, dynamic> body, required BuildContext context})
→ Future
-
POST method for REST API call
-
init(String apikey, String userId)
→ void
-
POST method for Cloud function call
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited