RouteExtension extension

Convenience helpers for turning a YxRoute into a RouteNode.

on

Methods

toImmutableNode({List<RouteNode> children = const [], Map<String, String> arguments = const {}, Map<String, Object?> extra = const {}}) → ImmutableRouteNode

Available on YxRoute, provided by the RouteExtension extension

Creates an immutable route node for this route (same as RouteNode.fromRoute with this route).
toMutableNode({List<RouteNode> children = const [], Map<String, String> arguments = const {}, Map<String, Object?> extra = const {}}) MutableRouteNode

Available on YxRoute, provided by the RouteExtension extension

Creates a MutableRouteNode for this route.
toNode({List<RouteNode> children = const [], Map<String, String> arguments = const {}, Map<String, Object?> extra = const {}}) RouteNode

Available on YxRoute, provided by the RouteExtension extension

Creates a RouteNode for this route.