popToRootPage function

dynamic popToRootPage()

Implementation

popToRootPage() {
  navGK.currentState?.popUntil(ModalRoute.withName('/'));
}