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

FileStore<I extends Info, E extends Entry<I>>(
  1. FileAdapter _adapter,
  2. bool lock, {
  3. StoreCodec? codec,
})

Builds a FileStore.

  • _adapter: The file store adapter
  • lock: If locks are obtained before doing read/write operations
  • codec: The StoreCodec used to convert to/from a Map<String, dynamic>` representation to binary representation

Implementation

FileStore(this._adapter, this.lock, {super.codec});