convertCharToSimplifiedChinese static method

String convertCharToSimplifiedChinese(
  1. String c
)

将单个繁体字转换为简体字 @param c 需要转换的繁体字 @return 转换后的简体字

Implementation

static String convertCharToSimplifiedChinese(String c) {
  String? simplifiedChinese = chineseMap[c];
  return simplifiedChinese ?? c;
}