nextIsComma property
bool
get
nextIsComma
Checks whether the next token is a comma.
Return value:
bool:trueif the next token is a comma, otherwisefalse.
Implementation
bool get nextIsComma => next?.type == TokenType.COMMA;