storageRead<T> function

Future storageRead<T>(
  1. String key, {
  2. Map<Type, dynamic>? modelDecoders,
})

Read data from the storage class.

Implementation

Future<dynamic> storageRead<T>(String key,
    {Map<Type, dynamic>? modelDecoders}) async {
  return await NyStorage.read<T>(key, modelDecoders: modelDecoders);
}