PolylineRequest constructor
PolylineRequest({
- required String apiKey,
- required PointLatLng origin,
- required PointLatLng destination,
- required TravelMode mode,
- required List<
PolylineWayPoint> wayPoints, - required bool avoidHighways,
- required bool avoidTolls,
- required bool avoidFerries,
- required bool optimizeWaypoints,
- required bool alternatives,
- int? arrivalTime,
- int? departureTime,
- 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,
});