PersistenceStore<I extends Info, E extends Entry<I>> constructor

PersistenceStore<I extends Info, E extends Entry<I>>({
  1. StoreCodec? codec,
})

Creates a PersistenceStore.

  • codec: The StoreCodec used to convert to/from a Map<String, dynamic>` representation to a binary representation.

Implementation

PersistenceStore({StoreCodec? codec}) : codec = codec ?? const MsgpackCodec();