BaseSharedPreferences class Null safety

BaseSharedPreferences is a base class for all shared preferences

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

containKey(String key) Future<bool>
containKey Check if the key is exist
getBoolValue(String key) Future<bool?>
getIntValue Get int value from SharedPreferences
getDoubleValue(String key) Future<double?>
getIntValue Get int value from SharedPreferences
getStringValue(String key) Future<String>
getStringValue Get string value from SharedPreferences
remove(String key) Future<void>
savedBoolValue(String key, bool value) Future<bool>
saveBoolValue Save bool value to SharedPreferences
savedDoubleValue(String key, double value) Future<bool>
saveIntValue Save int value to SharedPreferences
saveStringValue(String key, String value) Future<bool>
saveStringValue Save string value to SharedPreferences