updateWithNext method
RouteNode<RouteValue>
updateWithNext({
- RouteNode<
RouteValue> ? next, - required T value,
- Completer? popCompleter,
Prioritizes next over value.
valueis the current value of the node.nextis 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,
);
}