includes method

bool includes(
  1. Method m
)

Returns whether a method encompasses the given method. For example write not only includes itself, but also includes list and delete.

Implementation

bool includes(Method m) {
  return m == this || alsoIncludes.contains(m);
}