ApiService class

Constructors

ApiService()

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

Operators

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

Static Properties

showColorLog bool
getter/setter pair
showLog bool
getter/setter pair

Static Methods

getResponse(Response? response) → dynamic
logApi(dynamic type, String url, dynamic headers, dynamic parameter, dynamic response) → dynamic
logMultipartApi(dynamic type, String url, dynamic headers, dynamic parameter) → dynamic
makeMultipartRequest(String url, dynamic parameter, dynamic headers, Iterable<MultipartFile> files) Future
makeRequest(String url, RequestType requestType, dynamic parameter, dynamic headers) Future<Response?>
onResponseReceive(Response response) → dynamic
printLog(dynamic type, dynamic url, dynamic headers, dynamic parameter, dynamic response) → dynamic