isIdentifier property

  1. @override
bool get isIdentifier
inherited

True if this token is an identifier. Some keywords allowed as identifiers, see implementation in KeywordToken.

Implementation

@override
bool get isIdentifier => kind == IDENTIFIER_TOKEN;