drawRoute abstract method

Future<void> drawRoute(
  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.

Implementation

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