DirectionsRequest constructor

const DirectionsRequest({
  1. required dynamic origin,
  2. required dynamic destination,
  3. TravelMode? travelMode,
  4. bool? optimizeWaypoints,
  5. List<DirectionsWaypoint>? waypoints,
  6. bool? alternatives,
  7. bool? avoidTolls,
  8. bool? avoidHighways,
  9. bool? avoidFerries,
  10. bool? avoidIndoor,
  11. UnitSystem? unitSystem,
  12. String? region,
  13. DrivingOptions? drivingOptions,
  14. TransitOptions? transitOptions,
  15. String? language,
})

Implementation

const DirectionsRequest({
  required this.origin,
  required this.destination,
  this.travelMode,
  this.optimizeWaypoints,
  this.waypoints,
  this.alternatives,
  this.avoidTolls,
  this.avoidHighways,
  this.avoidFerries,
  this.avoidIndoor,
  this.unitSystem,
  this.region,
  this.drivingOptions,
  this.transitOptions,
  this.language,
});