getEntry method

RouteQueueEntry? getEntry(
  1. Route route
)

Implementation

RouteQueueEntry? getEntry(Route route) {
  return switch (route.settings) {
    RouteQueueEntryPage page => page.entry,
    _ => null,
  };
}