SharedPreferencesStorePlatform class Null safety
The interface that implementations of shared_preferences must implement.
Platform implementations should extend this class rather than implement it as
does not consider newly added methods to be breaking changes. Extending this class
extends) ensures that the subclass will get the default implementation, while
platform implementations that
implements this interface will be broken by newly added
) → Future< bool>
- Removes all keys and values in the store.
) → Future< Map< String, Object>>
- Returns all key/value pairs persisted in this store.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
String key) → Future< bool>
Removes the value associated with the
String valueType, String key, Object value) → Future< bool>
valueassociated with the
) → String
A string representation of this object.