UnsortedEntityStateAdapter<T> class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectId
→ IdSelector<T>?
-
final
Methods
-
addAll<S extends EntityState<T>>(List<T> entity, S state)
→ S
-
Adds many entities to the store, removing existing entities
override
-
addMany<S extends EntityState<T>>(List<T> entity, S state)
→ S
-
Adds many entities to the store and does not replace existing entities
override
-
addOne<S extends EntityState<T>>(T entity, S state)
→ S
-
Adds a single entity to the store. NOP if item is already in the store
override
-
getId(T item)
→ String
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAll<S extends EntityState<T>>(S state)
→ S
-
Empties the store
override
-
removeMany<S extends EntityState<T>>(List<String> ids, S state)
→ S
-
Removes entities with the specified IDs from the store
override
-
removeOne<S extends EntityState<T>>(String id, S state)
→ S
-
Removes an entity with the specified ID from the store
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateMany<S extends EntityState<T>>(List<T> items, S state)
→ S
-
Updates the data for many elements. NOP for items that are not already in the store
override
-
updateOne<S extends EntityState<T>>(T item, S state)
→ S
-
Updates the data for a single element. NOP if the item does not exist
override
-
upsertMany<S extends EntityState<T>>(List<T> items, S state)
→ S
-
Creates or updates many elements
override
-
upsertOne<S extends EntityState<T>>(T item, S state)
→ S
-
Creates or updates a single element
override