IPreferencesManager class Null safety
Preferences manager interface.
- Inheritance
- Implementers
Constructors
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
-
addPlugin<
T extends IPlugin> (IPlugin plugin) → void -
Adds plugin.
inherited
-
cleanPlugins(
) → void -
Clean plugins.
inherited
-
getDouble(
String key, double defaultValue) → Future< double> - Gets double for key.
-
getInt(
String key, int defaultValue) → Future< int> - Gets int for key.
-
getPlugin<
T extends IPlugin> () → IPlugin? -
Gets plugin.
inherited
-
getString(
String key, String? defaultValue) → Future< String?> - Gets string for key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
remove(
String key) → Future< bool> - Removes value for key.
-
removePlugin<
T extends IPlugin> () → void -
Removes plugin.
inherited
-
setDouble(
String key, double value) → Future< bool> - Sets double for key.
-
setInt(
String key, int value) → Future< bool> - Sets int for key.
-
setString(
String key, String? value) → Future< bool> - Sets string for key.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited