CacheMutator class
Constructors
- CacheMutator(CacheStorage _cacheStorage)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mutationStream
→ Stream<
CacheMutationEvent> -
Stream of cache mutation events
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Dispose resources
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCacheBatch(
List< String> mutatedKeys, Map<String, dynamic> mutatedData, {bool emitEvent = true}) → void -
Batch update
Where key -> newData in the
mutatedData
-
updateCacheBySingleKey<
T> (String key, T value, {List< String> ? tags, bool emitEvent = true}) → void - Single key update
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited