korToEng function

dynamic korToEng(
  1. String text
)

Implementation

korToEng(String text) {
  return text
      .split('')
      .map((char) =>
          (explode(char, grouped: false)).map((String e) => KR_TO_EN[e] ?? e))
      .expand((element) => element)
      .toList()
      .join('');
}