read<T> method

Future<T?> read<T>({
  1. required String key,
})

Returns the value for the given key or null if key is not in the storage.

Supports String and Uint8List values.

Implementation

Future<T?> read<T>({required String key}) async {
  return fileStorageManager.read<T>(key: key);
}