Store class

A key value store that saves objects by Type

Constructors

Store([Map<Type, Object>? initialList])

Properties

hashCode int
The hash code for this object.
no setterinherited
objects Map<Type, Object>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() Store
Remove all the objects from store.
contains(Type key) bool
copyObjectsFrom(Store store) Store
Copies objects from another store.
doesNotContain(Type key) bool
get<T extends Object>() → T
Retrieves the object from store.
mergeWith(Store store) Store
Copies objects from another store.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(Type key) Store
save(Object object) Store
saveMultiple(Iterable<Object> objects) Store
toString() String
A string representation of this object.
inherited

Operators

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