SaveRepository class

The repository holding the state.

Constructors

SaveRepository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEffect(SaveEffect effect) → void
Adds effects
addObservable<T>(SaveRepositoryKey key, SaveObservable<T> obs) → void
Adds observables to the cache.
getActionEffects(SaveAction action) List<SaveEffect>
getEffects<T>(SaveProvider provider) List<SaveEffect>
Returns the SaveEffects.
getObservable<T>(SaveRepositoryKey key) SaveObservable<T>?
Returns observables from the cache.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerEffects(SaveProvider provider) → void
Registers the onUpdate and onDispose effects.
removeEffect(SaveEffect effect) → void
Removes effects
removeObservable<T>(SaveRepositoryKey key) SaveObservable<T>?
Removes observables from the cache
toString() String
A string representation of this object.
inherited

Operators

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