Retrieves a value of type T from SharedPreferences.
T
Returns null if the value doesn't exist or cannot be converted.
Future<T?> getter(SharedPreferencesAsync prefs, String key);