ConfigTable class

Constructors

ConfigTable()
factory

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

getDigitValue({required String configKey}) → Future<int>
获取配置值 configKey 配置表健
getStateValue({required String configKey}) → Future<bool>
获取配置值 configKey 配置表健
getValue({required String configKey}) → Future<String>
获取配置值 configKey 配置表健
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register<T extends OnConfigTableInterceptor>(T? config) → void
配置表对象注册 OnConfigTableInterceptor实现类
syncConfigTable({required dynamic complete(), bool instantly = false}) → void
同步配置表(在应用启动时调用) complete 同步完成 instantly 即刻生效(每次获取)
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → ConfigTable
no setter