getCurrentRoute static method

Route? getCurrentRoute()

Get current route

Implementation

static Route<dynamic>? getCurrentRoute() {
  return NyNavigator.instance.router.getCurrentRoute();
}