StoreList<T extends StoreListItem> class

Annotations

Constructors

StoreList([Iterable<T> list = const []])
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
items BuiltList<T>
Returns a BuiltList objects type of T.
no setter
itemsIds BuiltList<Object>
Returns a BuiltList items id`s type of Object.
no setter
itemsMap BuiltMap<Object, T>
Returns a BuiltMap objects with key Object and type T.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAll(Iterable<T> values) StoreList<T>
Returns a StoreList with added values objects.
addItem(Object? id, T? value) StoreList<T>
Returns a StoreList with added value object.
deleteItem(Object id) StoreList<T>
Returns a StoreList with removed by id object.
getItem(Object id) → T?
Returns a T object by id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateItem(Object? id, T? value) StoreList<T>
Returns a StoreList with updated by id identificator value object.

Operators

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