Constructors
-
ProSheredPreference()
-
Note: Due to limitations in Android's SharedPreferences, values cannot start with any one of the following:
factory
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
-
get(String key)
→ Future
-
get use for get any type of data
-
getBool(String key)
→ Future<bool>
-
getBool use for get boolean value
-
getBoolList(String key)
→ Future<List<bool>>
-
getBoolList use for get List of Boolean
-
getDouble(String key)
→ Future<double>
-
getDouble use for get double value
-
getDoubleList(String key)
→ Future<List<double>>
-
getDoubleList use for get List of Double
-
getDynamicList(String key)
→ Future<List>
-
getDynamicList use for get List of dynamic type
-
getInt(String key)
→ Future<int>
-
getInt use for get integer value
-
getIntList(String key)
→ Future<List<int>>
-
getIntList use for get List of Integer
-
getMap(String key)
→ Future<Map<String, dynamic>>
-
getMap use for get Map<String, dynamic> type of map
-
getMulti(List<String> keys)
→ Future<Map<String, dynamic>>
-
getMulti use for get multiple values at once
-
getMultiBool(List<String> keys)
→ Future<Map<String, bool>>
-
getMultiBool use for get multiple boolean at once
-
getMultiBoolList(List<String> keys)
→ Future<Map<String, List<bool>>>
-
getMultiBoolList use for get multiple list of boolean at once
-
getMultiDouble(List<String> keys)
→ Future<Map<String, double>>
-
getMultiDouble use for get multiple double at once
-
getMultiDoubleList(List<String> keys)
→ Future<Map<String, List<double>>>
-
getMultiDoubleList use for get multiple list of double at once
-
getMultiDynamicList(List<String> keys)
→ Future<Map<String, List>>
-
getMultiDynamicList use for get multiple list of dynamic data type at once
-
getMultiInt(List<String> keys)
→ Future<Map<String, int>>
-
getMultiInt use for get multiple integer at once
-
getMultiIntList(List<String> keys)
→ Future<Map<String, List<int>>>
-
getMultiIntList use for get multiple list of integer at once
-
getMultiMap(List<String> keys)
→ Future<Map<String, Map<String, dynamic>>>
-
getMultiDynamicList use for get multiple map at once
-
getMultiString(List<String> keys)
→ Future<Map<String, String>>
-
getMultiString use for get multiple string at once
-
getMultiStringList(List<String> keys)
→ Future<Map<String, List<String>>>
-
getMultiStringList use for get multiple list of string at once
-
getString(String key)
→ Future<String>
-
getString use for get string value
-
getStringList(String key)
→ Future<List<String>>
-
getStringList use for get List of String
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
set(String key, dynamic value)
→ Future<bool>
-
set use for store any type of data
-
setBool(String key, bool value)
→ Future<bool>
-
setBool use for store boolean
-
setBoolList(String key, List<bool> value)
→ Future<bool>
-
setBoolList use for store list of boolean
-
setDouble(String key, double value)
→ Future<bool>
-
setDouble use for store double
-
setDoubleList(String key, List<double> value)
→ Future<bool>
-
setDoubleList use for store list of double
-
setDynamicList(String key, List value)
→ Future<bool>
-
setDynamicList use for store list of dynamic values
-
setInt(String key, int value)
→ Future<bool>
-
setInt use for store integer
-
setIntList(String key, List<int> value)
→ Future<bool>
-
setIntList use for store list of integer
-
setMap(String key, Map<String, dynamic> value)
→ Future<bool>
-
setMap use for store Map<String, dynamic> type of data
-
setMulti(Map<String, dynamic> data)
→ Future<bool>
-
setMulti use for store any type value
-
setMultiBool(Map<String, bool> data)
→ Future<bool>
-
setMultiBool use for store multiple booleans
-
setMultiBoolList(Map<String, List<bool>> data)
→ Future<bool>
-
setMultiBoolList use for store multiple list of booleans
-
setMultiDouble(Map<String, double> data)
→ Future<bool>
-
setMultiDouble use for store multiple doubles
-
setMultiDoubleList(Map<String, List<double>> data)
→ Future<bool>
-
setMultiDoubleList use for store multiple list of doubles
-
setMultiDynamicList(Map<String, List> data)
→ Future<bool>
-
setMultiDynamicList use for store multiple list of dynamic value
-
setMultiInt(Map<String, int> data)
→ Future<bool>
-
setMultiInt use for store multiple integers
-
setMultiIntList(Map<String, List<int>> data)
→ Future<bool>
-
setMultiIntList use for store multiple list of integers
-
setMultiMap(Map<String, Map<String, dynamic>> data)
→ Future<bool>
-
setMultiMap use for store multiple
Map<String, List<dynamic>>
type of Map
-
setMultiString(Map<String, String> data)
→ Future<bool>
-
setMultiString use for store multiple strings
-
setMultiStringList(Map<String, List<String>> data)
→ Future<bool>
-
setMultiStringList use for store multiple list of strings
-
setString(String key, String value)
→ Future<bool>
-
setString use for store string
-
setStringList(String key, List<String> value)
→ Future<bool>
-
setStringList use for store list of string
-
toString()
→ String
-
A string representation of this object.
inherited