matchUri method

ToUri matchUri(
  1. Uri uri
)

Implementation

ToUri matchUri(Uri uri) {
  return root.match(uri);
  // assert(uri.path.startsWith("/"));
  // if (uri.path == "/") return ToUri._(uri: uri, to: root);
  //
  // Map<String, String> params = {};
  // return root._match(uri: uri, segments: uri.pathSegments, params: params);
}