getStateValue method

Future<bool> getStateValue({
  1. required String configKey,
})

获取配置值 configKey 配置表健

Implementation

Future<bool> getStateValue({required String configKey}) async {
  var value = await this.getValue(configKey: configKey);
  return Future.value(value.isTrue);
}