matchPrefix property

String? get matchPrefix

The plain text before the first param, eg. /api/users for /api/users/{id}. A url that does not start with it can not match pattern, so the router skips the regex. Null for a plain route, a route that starts with a param, or text with regex marks in it.

Implementation

String? get matchPrefix {
  _compile();
  return _matchPrefix;
}