getValue method

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

获取配置值 configKey 配置表健

Implementation

Future<String> getValue({required String configKey}) {
  if (_tempMap.containsKey(configKey)) {
    var value = _tempMap.getValue<String>(configKey);
    return Future.value(value);
  }
  return _fromCacheTake(configKey);
}