EntityStoreController class

Constructors

EntityStoreController.new(EntityStoreMixin _entityStore)

Properties

entityEventStream Stream<EntityEvent<dynamic, Entity>>
no setter
entityEventSubscription StreamSubscription<EntityEvent<dynamic, Entity>>
latefinal
eventStream Stream<PersistenceEvent<dynamic, Entity>>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() → void
delete<Id, E extends Entity<Id>>(Id id) → void
dispatch<Id, E extends Entity<Id>>(PersistenceEvent<Id, E> event) → void
getAll<Id, E extends Entity<Id>>() List<E>
getById<Id, E extends Entity<Id>>(Id id) → E?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put<Id, E extends Entity<Id>>(E entity) → void
registEntityEventListener(EntityEventListener listener) → void
toString() String
A string representation of this object.
inherited
where<Id, E extends Entity<Id>>([bool test(E) = testAlwaysTrue]) EntityMap<Id, E>

Operators

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