AnnotationChecker extension

on
  • Element

Methods

getAnnotation(Type type) → DartObject?
Returns the first annotation object found of type or null if annotation of type not found
hasAnnotation(Type type) bool