matchPatternAsPrefix method
Match this route against a location.
Implementation
RegExpMatch? matchPatternAsPrefix(String loc) {
return _pathRE.matchAsPrefix('/$loc') as RegExpMatch? ??
_pathRE.matchAsPrefix(loc) as RegExpMatch?;
}
Match this route against a location.
RegExpMatch? matchPatternAsPrefix(String loc) {
return _pathRE.matchAsPrefix('/$loc') as RegExpMatch? ??
_pathRE.matchAsPrefix(loc) as RegExpMatch?;
}