getNavKeyFromRouteInfo method
Implementation
Key getNavKeyFromRouteInfo(RouteInfo routeInfo) {
return nestedRoutes.entries
.singleWhereOrNull((element) => element.value.contains(routeInfo))!
.key
.key;
}
Key getNavKeyFromRouteInfo(RouteInfo routeInfo) {
return nestedRoutes.entries
.singleWhereOrNull((element) => element.value.contains(routeInfo))!
.key
.key;
}