updateWithNext method
RouteNode<RouteValue>
updateWithNext({
- RouteNode<
RouteValue> ? next, - required ShellValue value,
override
Prioritizes next
over value
.
value
is the current value of the node.next
is what the returned node is expected to be pointing to.
Implementation
@override
RouteNode<RouteValue> updateWithNext({
RouteNode<RouteValue>? next,
required ShellValue value,
}) {
return ShellNode(
shellBuilder: shellBuilder,
value: value.withNext(next!),
route: this,
);
}