NUISharedPref class
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
-
getBool(String key, {bool defValue = false})
→ Future<bool>
-
-
getDouble(String key, {double defValue = 0.0})
→ Future<double>
-
-
getDynamic(String key)
→ Future
-
-
getInt(String key, {int defValue = 0})
→ Future<int>
-
-
getObject<T extends NUIEnt>(String key, NUIEntMapper<T> entity)
→ Future<T?>
-
-
getString(String key, {String defValue = ""})
→ Future<String>
-
-
getStringList(String key, {List<String>? defValue})
→ Future<List<String>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
quickGet(String key)
→ dynamic
-
-
quickGetBool(String key, {bool defValue = false})
→ bool
-
-
quickGetDouble(String key, {double defValue = 0.0})
→ double
-
-
quickGetInt(String key, {int defValue = 0})
→ int
-
-
quickGetObject<T extends NUIEnt>(String key, NUIEntMapper<T> entity)
→ T?
-
-
quickGetString(String key, {String defValue = ""})
→ String
-
-
quickGetStringList(String key, {List<String>? defValue})
→ List<String>
-
-
remove(String key)
→ Future<bool>
-
-
save(String key, dynamic value)
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited