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