IJsonRpcHistory class abstract
- Inheritance
-
- Object
- IGenericStore<
JsonRpcRecord> - IJsonRpcHistory
- Implementers
Constructors
Properties
- context → String
-
finalinherited
- fromJson → JsonRpcRecord Function(dynamic)
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onCreate
→ Event<
StoreCreateEvent< JsonRpcRecord> > -
Emitted when a new key is added to the store.
The event contains the key and the value of type
T
.finalinherited -
onDelete
→ Event<
StoreDeleteEvent< JsonRpcRecord> > -
Emitted when a key is deleted from the store.
The event contains the key and the value of type
T
.finalinherited -
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.
finalinherited
-
onUpdate
→ Event<
StoreUpdateEvent< JsonRpcRecord> > -
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
.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → IStore
-
finalinherited
- storageKey → String
-
finalinherited
- version → String
-
finalinherited
Methods
-
delete(
String key) → Future< void> -
inherited
-
get(
String key) → JsonRpcRecord? -
inherited
-
getAll(
) → List< JsonRpcRecord> -
inherited
-
has(
String key) → bool -
inherited
-
init(
) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
persist(
) → Future< void> -
inherited
-
resolve(
Map< String, dynamic> response) → Future<void> -
restore(
) → Future< void> -
inherited
-
set(
String key, JsonRpcRecord value) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited