AnnotationChecker extension
- on
-
- Element
Methods
-
getAnnotation(
Type type) → DartObject? -
Returns the first annotation object found of
type
ornull
if annotation oftype
not found -
hasAnnotation(
Type type) → bool
type
or null
if annotation of type
not found