pop method

  1. @override
RouteNode<RouteValue>? pop()
override

Implementation

@override
RouteNode<RouteValue>? pop() {
  if (value.currTab.pop() case final popped?) {
    return route.updateWithValue(
      next: popped,
      value: value.withNext(popped),
      popCompleter: popCompleter,
    );
  }

  return null;
}