getAnnotation<A> method
A?
getAnnotation<A>()
Implementation
A? getAnnotation<A>() {
return findElement(annotations, (annotation) => annotation.runtimeType == A) as A?;
}
A? getAnnotation<A>() {
return findElement(annotations, (annotation) => annotation.runtimeType == A) as A?;
}