getAnnotation method
Returns the first annotation object found of type
or null
if annotation of type
not found
Implementation
DartObject? getAnnotation(final Type type) {
return _typeChecker(type).firstAnnotationOfExact(this);
}
Returns the first annotation object found of type
or null
if annotation of type
not found
DartObject? getAnnotation(final Type type) {
return _typeChecker(type).firstAnnotationOfExact(this);
}