storageRead<T> function
Read data from the storage class.
Returns the value cast to type T, or null if not found.
Implementation
Future<T?> storageRead<T>(
String key, {
Map<Type, dynamic>? modelDecoders,
}) async {
return await NyStorage.read<T>(key, modelDecoders: modelDecoders);
}