imports property

Returns the imports defined in this file.

Implementation

Iterable<ImportStatement> get imports =>
    childNodes.whereType<ImportStatement>();