topLevelVariables property Null safety

List<TopLevelVariableElement> topLevelVariables

Return a list containing all of the top-level variables contained in this compilation unit.

Implementation

List<TopLevelVariableElement> get topLevelVariables;