backUntil method

void backUntil(
  1. String untilRouteName
)

Navigate back and remove all the previous routes until meeting the route with defined name

It is similar to _navigate.backUntil method.

Implementation

void backUntil(String untilRouteName) {
  return _navigationBuilder.backUntil(untilRouteName);
}