findNameByValue method

Future<String?> findNameByValue(
  1. String groupCode,
  2. String? value, {
  3. bool useCache = true,
  4. String systemDic = "1",
})

查找字典名称 根据字典分组代码和值查找对应的字典名称

Implementation

Future<String?> findNameByValue(String groupCode, String? value,
    {bool useCache = true, String systemDic = "1"}) async {
  var result = await findDictEntity(groupCode, value,
      useCache: useCache, systemDic: systemDic);
  return result?.dicName;
}