storageCollectionRead<T> function

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

Read a collection from the storage class.

Implementation

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