PersistentStorageInterface<T> constructor

PersistentStorageInterface<T>({
  1. required String key,
  2. required String? encoder(
    1. T value
    ),
  3. required T decoder(
    1. String? value
    ),
})

Implementation

PersistentStorageInterface({
  required this.key,
  required this.encoder,
  required this.decoder,
});