popUntil method

void popUntil(
  1. void predicate(
    1. Route
    )
)

Delegation for Navigator.popUntil.

Implementation

void popUntil(void Function(Route<dynamic>) predicate) {
  this
      .navigatorKey!
      .currentState!
      .popUntil(predicate as bool Function(Route<dynamic>));
}