whereAnnotatedWith method

Iterable<FunctionReflection<O, R>> whereAnnotatedWith(
  1. List<Object> annotations
)

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));
}