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
-
getRequest(String url, [])
→ Future
-
Sends a GET request to the specified URL and returns the response
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
postRequest(String url, {dynamic body, dynamic encoding})
→ Future
-
Sends a POST request to the specified URL and returns the response
-
toString()
→ String
-
A string representation of this object.
inherited