removeRoute method

dynamic removeRoute(
  1. Route r
)

Implementation

removeRoute(Route r) {
  _map.removeWhere((key, value) => key == r);
  return _routeQueue.removeWhere((element) => element == r);
}