findDictEntity method
查找字典实体 根据字典分组代码和值查找对应的字典实体
Implementation
Future<DictEntity?> findDictEntity(String groupCode, String? value,
{bool useCache = true, String systemDic = "1"}) async {
if (value == null) {
return null;
}
var dictList = await getDictList(groupCode,
useCache: useCache, systemDic: systemDic, onlyEnable: false);
return _findInternal(dictList, value);
}