matches method

bool matches(
  1. String requestPath
)

Implementation

bool matches(String requestPath) {
  // Simple prefix matching
  return requestPath.startsWith(path);
}