hasRoute method

bool hasRoute(
  1. String route
)

Implementation

bool hasRoute(String route) => routes.any((m) => m.route == route);