routeUri method

  1. @override
String routeUri(
  1. dynamic params
)
override

Implementation

@override
String routeUri(params) {
  if (toRouteUri == null && (params == null || params is InternalArgs))
    return route;
  assert(
      this.toRouteUri != null,
      "You must either use a simple route, or have a way of "
      "constructing a reverse URI.  If the parameters don't affect the URL, you can mark "
      "the args with InternalArgs to avoid this error.\n\t Route=$route, params=$params");

  return toRouteUri!(RouteParams.of(params));
}