drawIndependentRoutes abstract method

Future<void> drawIndependentRoutes(
  1. List<DirectionsRoute> routes
)

Draws the route on the map based on the provided routes. it clears the previous route before drawing the new one. and then draws the route line, waypoints, and route duration symbol. This method is used when there are multiple origin and destination routes.

Implementation

Future<void> drawIndependentRoutes(List<DirectionsRoute> routes);