isTopLevelKeyword property

  1. @override
bool get isTopLevelKeyword
inherited

Return true if this token is a keyword starting a top level declaration such as class, enum, import, etc.

Implementation

@override
bool get isTopLevelKeyword => type.isTopLevelKeyword;