of static method
Implementation
static RouteQueueEntry? of(BuildContext context) {
final route = ModalRoute.of(context);
if (route == null) return null;
final queue = RouteRestorable.maybeOf(context)?.delegate.routeQueue;
return queue?.getEntry(route);
}