getValue method

  1. @override
String? getValue(
  1. SharedPreferences preferences,
  2. String key
)
override

Retrieve a value associated with the key by using the preferences.

Implementation

@override
String? getValue(preferences, key) => preferences.getString(key);