matches static method

bool matches(
  1. String text
)

Implementation

static bool matches(String text) {
  return _languageRegex.hasMatch(text);
}