CacheConfig class

Cache configuration options

Constructors

CacheConfig.new({int maxSizeMB = 50, Duration defaultExpiry = const Duration(hours: 1), bool persistToDisk = true, int maxEntries = 1000})
const

Properties

defaultExpiry Duration
Default cache expiration time
final
hashCode int
The hash code for this object.
no setterinherited
maxEntries int
Maximum number of cached entries
final
maxSizeMB int
Maximum cache size in MB
final
persistToDisk bool
Whether to persist cache to disk
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
toString() String
A string representation of this object.
inherited

Operators

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