documents method

bool documents(
  1. String path
)

true when the route at path goes in the docs

Implementation

bool documents(String path) {
  if (include.isNotEmpty && !PathPattern.any(include, path)) return false;
  return !PathPattern.any(exclude, path);
}