fromStorage<T> method

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

Read a StorageKey value from NyStorage

Implementation

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