annotationsOf<T> method
Returns all annotations assignable to type T
.
Implementation
Iterable<T> annotationsOf<T>() => annotations.whereType<T>();
Returns all annotations assignable to type T
.
Iterable<T> annotationsOf<T>() => annotations.whereType<T>();