CacheRequest<T> class

A detached, immutable description of a read. Construction never creates a session.

Constructors

CacheRequest({required String operation, int version = 1, required CacheCodec<T> codec, required Object? arguments, Duration? appletLimit, Duration? maxAge})

Properties

argumentHash → String
latefinal
argumentsJson → String
final
codec → CacheCodec<T>
final
hashCode → int
The hash code for this object.
no setterinherited
maxAge → Duration
final
operation → String
final
refreshInterval → Duration
Target refresh cadence; offline retention is independent.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
final

Methods

keyFor(int accountId) → CacheKey
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

Constants

maximumAge → const Duration