matchPatternAsPrefix method

RegExpMatch? matchPatternAsPrefix(
  1. String loc
)

Match this route against a location.

Implementation

RegExpMatch? matchPatternAsPrefix(String loc) =>
    _pathRE.matchAsPrefix(loc) as RegExpMatch?;