FConfigValueListenerManager class

配置值变更监听器管理器。

负责管理一组配置键的监听器,支持添加、移除和通知监听器。

Constructors

FConfigValueListenerManager(List<String> keyNames)
构造函数。

Properties

hashCode int
The hash code for this object.
no setterinherited
keyNames List<String>
监听的配置键名列表。
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(FConfigValueListener listener) → void
添加一个配置值变更监听器。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners(String keyName, Type type, Object? value) → void
通知所有监听器配置值发生了变化。
removeListener(FConfigValueListener listener) → void
移除一个配置值变更监听器。
toString() String
A string representation of this object.
inherited

Operators

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