PathMatcher constructor

PathMatcher(
  1. String path
)

Implementation

PathMatcher(String path)
    : route = path.replaceAll(RegExp('\\{[^/]+\\}'), '[^/]+');