unicodeToArray function

List<String> unicodeToArray(
  1. String string
)

Implementation

List<String> unicodeToArray(String string) {
  Iterable<Match> matches = reUnicode.allMatches(string);
  List<String> result = [];
  for (Match match in matches) {
    result.add(match[0]!);
  }
  return result;
}