CacheOptions class
Constructors
- CacheOptions({String generateCacheKey(RequestOptions options, String key)?, bool useAuthorization = true, bool useSecureStorage = false, bool resetOnRestart = false, Duration cacheLifetimeDuration = const Duration(days: 10)})
-
const
Properties
- cacheLifetimeDuration → Duration
-
final
- generateCacheKey → String Function(RequestOptions options, String key)?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resetOnRestart → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useAuthorization → bool
-
final
- useSecureStorage → bool
-
final
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