updateWithNext method
RouteNode<RouteValue>
updateWithNext({
- RouteNode<
RouteValue> ? next, - required T value,
- Completer? popCompleter,
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
RouteNode updateWithNext({
RouteNode? next,
required T value,
Completer? popCompleter,
}) {
return createNode(
next: next,
value: value,
popCompleter: popCompleter,
);
}