findAnnotation<A> method

A? findAnnotation<A>()

Implementation

A? findAnnotation<A>() {
  return findElement(annotations, (annotation) => annotation is A) as A?;
}