hasTopLevelVariables property

bool get hasTopLevelVariables

Whether the asset contains any top-level variable definitions.

Implementation

bool get hasTopLevelVariables => _hasType(ReferenceType.$variable);