directives property

List<Directive>? get directives

Implementation

List<Directive>? get directives =>
    astNode!.directives.map((d) => Directive(d)).toList();