getRouteName static method

String getRouteName(
  1. Route? route
)

获取路由名称

Implementation

static String getRouteName(Route? route) {
  return route?.settings.name ?? Constants.unknown;
}