findAnnotation<T> method
T?
findAnnotation<T>()
Implementation
T? findAnnotation<T>() {
return annotations.whereType<T>().firstOrNull;
}
T? findAnnotation<T>() {
return annotations.whereType<T>().firstOrNull;
}