DioFactory class

A factory class responsible for creating and configuring instances of Dio with caching capabilities provided by DioCacheInterceptor.

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

createDioInstance() → Dio
Creates and returns a Dio instance that's pre-configured with caching capabilities.
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

instance DioFactory
Get the singleton instance of DioFactory.
no setter