list<R> method Null safety

UriTemplateAppPageRoute<R, RouteParams> list<R>(
  1. MSchemaRef ref,
  2. WidgetHandler<R, RouteParams> handler,
  3. {String? name,
  4. ToRouteTitle<RouteParams>? toRouteTitle,
  5. bool isModal = false}
)

Implementation

UriTemplateAppPageRoute<R, RouteParams> list<R>(
  MSchemaRef ref,
  WidgetHandler<R, RouteParams> handler, {
  String? name,
  ToRouteTitle<RouteParams>? toRouteTitle,
  bool isModal = false,
}) {
  return page<R, RouteParams>(
    ref.toPath(""),
    handler,
    paramConverter: defaultConverter,
    transitionType: isModal ? TransitionType.nativeModal : TransitionType.native,
    name: name,
    toRouteTitle: toRouteTitle,
  );
}