An AsyncResource interface for Flutter shared preferences storage.
Please use async_resource_flutter
instead.
See https://pub.dartlang.org/packages/async_resource.
final stringRes = StringPrefsResource('string');
final boolRes = BoolPrefsResource('bool');
final intRes = IntPrefsResource('int');
final doubleRes = DoublePrefsResource('double');
final stringListRes = StringListPrefsResource('list');