tokenize static method

List<String> tokenize(
  1. String text
)

Implementation

static List<String> tokenize(String text) {
  return _wordRegex
      .allMatches(text)
      .map((m) => m.group(0)!)
      .toList();
}