popUntilFirst method

void popUntilFirst()

perform a continuous pop until the first route

Implementation

void popUntilFirst() => popUntil((route) => route.isFirst);