read<T> method

Future<T?> read<T>({
  1. dynamic defaultValue,
})

Read a StorageKey value from NyStorage

Implementation

Future<T?> read<T>({dynamic defaultValue}) async {
  return await fromStorage<T>(defaultValue: defaultValue);
}