GenericStore<T> class
- Implemented types
-
- Implementers
Properties
-
context
→ String
-
final
-
data
↔ Map<String, T>
-
Stores map of key to pairing info
getter/setter pair
-
fromJson
→ T Function(dynamic)
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
onCreate
→ Event<StoreCreateEvent<T>>
-
Emitted when a new key is added to the store.
The event contains the key and the value of type
T
.
final
-
onDelete
→ Event<StoreDeleteEvent<T>>
-
Emitted when a key is deleted from the store.
The event contains the key and the value of type
T
.
final
-
onSync
→ Event<StoreSyncEvent>
-
Emitted when the store is persisted to storage.
This event can be used as a catchall for any creations, updates, or deletions.
final
-
onUpdate
→ Event<StoreUpdateEvent<T>>
-
Emitted when a key is updated in some way: overwritten, some piece changes, etc.
The event contains the key and the value of type
T
.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
storage
→ IStore
-
final
-
storageKey
→ String
-
no setteroverride
-
version
→ String
-
final