getValue method

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

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

Implementation

@override
bool? getValue(preferences, key) => preferences.getBool(key);