hasAnnotationOfExact method
Examines the annotations on element related to this type checker.
Returns if a constant annotating element is exactly this type.
Implementation
bool hasAnnotationOfExact(Element element) => firstAnnotationOfExact(element) != null;