DioUtils 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 Properties
-
authOptions
↔ Options?
-
getter/setter pair
-
cacheOptions
↔ CacheOptions
-
getter/setter pair
-
dio
↔ Dio?
-
getter/setter pair
Static Methods
-
clearCache()
→ dynamic
-
-
initDio()
→ void
-
-
instance()
→ Dio
-
-
printResponse(String url, Response? response)
→ dynamic
-
-
request(String requestType, String url, {String? contentType, Map<String, dynamic>? queryParameters, dynamic body, Options? requestOption, bool isToCache = true, bool forceRefresh = true, int daysToCache = 30, int hoursToCache = 0})
→ Future<Response>
-