getCurrentRouteName static method

String? getCurrentRouteName()

Get current route name

Implementation

static String? getCurrentRouteName() {
  return NyNavigator.instance.router.getCurrentRoute()?.settings.name;
}