completableWithArgs<R, P extends RouteParams> method
CompletableAppRoute<R, P>
completableWithArgs<R, P extends RouteParams>(})
Creates a CompletableAppRoute
definition.
Implementation
CompletableAppRoute<R, P> completableWithArgs<R, P extends RouteParams>(
String routePath, {
required CompletableHandler<R, P> handler,
required ParameterConverter<P> converter,
String? name,
}) {
final completable = CompletableAppRoute<R, P>(routePath, handler, converter, name: name);
this.register(completable);
return completable;
}