getRoute method

RouteEntry<T>? getRoute(
  1. T destination
)

Gets the route to a specific destination

Implementation

RouteEntry<T>? getRoute(T destination) => routes[destination];