CloudBaseStore class
使用 Map 存储 key-value 然后 JSON 格式化 Map 使用 shared_preferences 存储到本地
Constructors
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< bool> - clear store
-
get(
String key) → Future - get value by key
-
init(
) → Future< CloudBaseStore> - 初始化 CloudBaseStore
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String key) → Future< bool> - remove value
-
set(
String key, dynamic value) → Future< bool> - set value
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited