DirectionsRequest constructor
const
DirectionsRequest({
- required dynamic origin,
- required dynamic destination,
- TravelMode? travelMode,
- bool? optimizeWaypoints,
- List<
DirectionsWaypoint> ? waypoints, - bool? alternatives,
- bool? avoidTolls,
- bool? avoidHighways,
- bool? avoidFerries,
- bool? avoidIndoor,
- UnitSystem? unitSystem,
- String? region,
- DrivingOptions? drivingOptions,
- TransitOptions? transitOptions,
- 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,
});