CacheOptions class

Constructors

CacheOptions.new({Duration maxAge = const Duration(minutes: 5), bool forceRefresh = false})
const

Properties

forceRefresh bool
final
hashCode int
The hash code for this object.
no setterinherited
maxAge Duration
final
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
toExtra() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromExtra(Map<String, dynamic>? extra) CacheOptions?

Constants

extraKey → const String