isDirective function
Checks if an ElementAnnotation
node implements Directive
.
Implementation
bool isDirective(ElementAnnotation annotation) =>
isComponent(annotation) || matchAnnotation($Directive, annotation);
Checks if an ElementAnnotation
node implements Directive
.
bool isDirective(ElementAnnotation annotation) =>
isComponent(annotation) || matchAnnotation($Directive, annotation);