pattern property
RegExp?
get
pattern
regex for a route with params like /blog/{id}, built once.
null for a plain route, which is matched with ==.
Implementation
RegExp? get pattern {
_compile();
return _pattern;
}