PolylineRequest constructor

PolylineRequest({
  1. required String apiKey,
  2. required PointLatLng origin,
  3. required PointLatLng destination,
  4. required TravelMode mode,
  5. required List<PolylineWayPoint> wayPoints,
  6. required bool avoidHighways,
  7. required bool avoidTolls,
  8. required bool avoidFerries,
  9. required bool optimizeWaypoints,
  10. required bool alternatives,
  11. int? arrivalTime,
  12. int? departureTime,
  13. String? transitMode,
})

Implementation

PolylineRequest({
  required this.apiKey,
  required this.origin,
  required this.destination,
  required this.mode,
  required this.wayPoints,
  required this.avoidHighways,
  required this.avoidTolls,
  required this.avoidFerries,
  required this.optimizeWaypoints,
  required this.alternatives,
  this.arrivalTime,
  this.departureTime,
  this.transitMode,
});