isStatement method

bool isStatement()

Checks if the node is a statement.

Implementation

bool isStatement() => statementTypes.contains(type);