popTo static method
Pop the page in the navigation stack until the page with url
.
Implementation
static Future<bool> popTo({required String url, int index = 0, bool animated = true}) =>
ThrioNavigatorImplement.shared().popTo(url: url, index: index, animated: animated);