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
-
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
-
getResponse(Response? response)
→ dynamic
-
-
logApi(dynamic type, String url, dynamic parameter, dynamic response)
→ dynamic
-
-
logMultipartApi(dynamic type, String url, dynamic parameter)
→ dynamic
-
-
makeMultipartRequest(String url, dynamic parameter, Iterable<MultipartFile> files)
→ Future
-
-
makeRequest(String url, RequestType requestType, dynamic parameter, )
→ Future<Response?>
-
-
onResponseReceive(Response response)
→ dynamic
-
-
printLog(dynamic type, dynamic url, dynamic parameter, dynamic response)
→ dynamic
-