isIdentifier function

bool isIdentifier(
  1. String s
)

Implementation

bool isIdentifier(String s) {
  return _IDENTIFIER_PATTERN.hasMatch(s);
}