DoubleAdapter class
Adapter for double values.
Uses the native double support in SharedPreferences.
- Inheritance
-
- Object
- PrfAdapter<
double> - DoubleAdapter
Constructors
- DoubleAdapter.new()
-
Creates a new double adapter.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getter(
SharedPreferencesAsync prefs, String key) → Future< double?> -
Retrieves a value of type
T
from SharedPreferences.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setter(
SharedPreferencesAsync prefs, String key, double value) → Future< void> -
Stores a value of type
T
in SharedPreferences.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited