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