popUntil method
Pop nodes until the criteria
is satisfied or isRoot is true
.
Implementation
NavigationStack popUntil(DestionPredicate criteria) =>
isRoot && criteria(current) ? this : _stack!.popUntil(criteria);
Pop nodes until the criteria
is satisfied or isRoot is true
.
NavigationStack popUntil(DestionPredicate criteria) =>
isRoot && criteria(current) ? this : _stack!.popUntil(criteria);