imports property

Iterable<ImportDirective> get imports

Get all imports

Implementation

Iterable<ImportDirective> get imports =>
    unit.directives.whereType<ImportDirective>();