directives property Null safety

List<Directive> directives

Implementation

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