CacheOperation class
A class that represents a cache operation.
Constructors
- CacheOperation.new({required CacheOperationType type, required String key, required DateTime timestamp, int? size})
- Creates a new instance of CacheOperation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The key involved in the operation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int?
-
The size of the item involved in the operation (for put operations).
final
- timestamp → DateTime
-
The timestamp of the operation.
final
- type → CacheOperationType
-
The type of operation.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited