requestRoutes abstract method

DrivingSession requestRoutes(
  1. DrivingOptions drivingOptions,
  2. DrivingVehicleOptions vehicleOptions,
  3. DrivingSessionRouteListener routeListener, {
  4. required List<RequestPoint> points,
})

Builds a route.

points Route points. drivingOptions Driving options. vehicleOptions Vehicle options. routeListener Route listener object.

Implementation

directions_driving_session.DrivingSession requestRoutes(
  DrivingOptions drivingOptions,
  directions_driving_vehicle_options.DrivingVehicleOptions vehicleOptions,
  directions_driving_session.DrivingSessionRouteListener routeListener, {
  required core.List<mapkit_request_point.RequestPoint> points,
});