FConfigKeyValueHandle class abstract
配置键值存储操作接口。
该接口定义了通用的配置存取、删除、初始化等操作,便于不同存储实现(如本地、云端等)统一调用。
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
-
deleteAllValues(
) → Future< void> - 清空所有存储的键值。
-
deleteValue(
String key) → Future< void> - 删除指定 key 的值。
-
getValue<
T> (String key, Type type) → T - 获取指定 key 的值。
-
hasValue(
String key) → bool - 判断指定 key 是否存在。
-
init(
String configName) → Future< void> - 初始化存储实例。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValue(
String key, Type type, Object value) → Future< void> - 设置指定 key 的值。
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited