whereAnnotatedWith method
Returns the MethodReflection that matches annotations.
Implementation
Iterable<FunctionReflection<O, R>> whereAnnotatedWith(
List<Object> annotations,
) {
if (annotations.isEmpty) {
return whereNotAnnotated();
}
return where((m) => _listEqualityObject.equals(m.annotations, annotations));
}