directive constant

TargetKind const directive

Indicates that an annotation is valid on any directive in a library or part file, whether it's a library, import, export, part, or part of directive.

Implementation

static const directive = TargetKind._('directives', 'directive');