StorageUtil 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
-
clear()
→ Future
-
clear.
-
containsKey(String key)
→ bool
-
-
getBool(String key, {bool defValue = false})
→ bool
-
-
getDouble(String key, {double defValue = 0.0})
→ double
-
-
getInt(String key, {int defValue = 0})
→ int
-
-
getList<T>(String key, T fromMap(Map v))
→ List<T>
-
-
getMap(String key)
→ Map<String, dynamic>
-
-
getObject<T>(String key, T fromMap(Map<String, dynamic> map))
→ T?
-
-
getString(String key, {String defValue = ''})
→ String
-
get**************************///
-
haveKey(String key)
→ bool
-
key信息**********************///
-
init({bool encrypt = true, StorageType storageType = StorageType.HIVE, String? hiveSubDir, String hiveName = ""})
→ Future
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
putBool(String key, bool value)
→ Future<void>
-
-
putDouble(String key, double value)
→ Future<void>
-
-
putInt(String key, int value)
→ Future<void>
-
-
putList(String key, List list)
→ Future<void>
-
-
putMap(String key, Map map)
→ Future<void>
-
-
putObject(String key, dynamic object)
→ Future<void>
-
-
putString(String key, String value)
→ Future<void>
-
put****************************///
-
remove(String key)
→ Future
-
清除**********************///
-
toString()
→ String
-
A string representation of this object.
inherited