Store<T> constructor

Store<T>({
  1. required String storeName,
  2. Future<Directory> getDirectory() = _getDocumentDirectory,
  3. required dynamic deserialize(
    1. Uint8List
    ),
  4. required dynamic serialize(
    1. T
    ),
})

Implementation

Store({
  required this.storeName,
  this.getDirectory = _getDocumentDirectory,
  required this.deserialize,
  required this.serialize,
});