whereAnnotatedWithType<T> method
Returns the MethodReflection that has an annotation of type T
.
Implementation
Iterable<FunctionReflection<O, R>> whereAnnotatedWithType<T>() =>
where((m) => m.annotations.any((o) => o is T));
Returns the MethodReflection that has an annotation of type T
.
Iterable<FunctionReflection<O, R>> whereAnnotatedWithType<T>() =>
where((m) => m.annotations.any((o) => o is T));