get method
Get a value from the key/value store
Implementation
@override
Object? get(String key) {
final value = _prefs.get(key);
// String lists from Shared Preferences need casted
if (value is List && value is! List<String>) {
return value.cast<String>().toList();
}
return value;
}