getter abstract method

Future<T?> getter(
  1. SharedPreferencesAsync prefs,
  2. String key
)

Retrieves a value of type T from SharedPreferences.

Returns null if the value doesn't exist or cannot be converted.

Implementation

Future<T?> getter(SharedPreferencesAsync prefs, String key);