StorageUtil class

Constructors

StorageUtil()
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() Future<void>
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 f(Map v)}) List
getObject<T>(String key, {T defValue}) → T
getString(String key, {String defValue = ''}) String
get**************************///
haveKey(String key) bool
key信息**********************///
init({bool encrypt = true, StorageType storageType = StorageType.HIVE, String hiveSubDir}) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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>
putObject(String key, dynamic object) Future<void>
putString(String key, String value) Future<void>
put****************************///
remove(String key) Future<void>
清除**********************/// remove.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited