Leg constructor
const
Leg({
- Time? arrivalTime,
- Time? departureTime,
- Distance? distance,
- DirectionsDuration? duration,
- DirectionsDuration? durationInTraffic,
- String? endAddress,
- GeoCoord? endLocation,
- String? startAddress,
- GeoCoord? startLocation,
- List<
Step> ? steps, - List<
ViaWaypoint> ? viaWaypoint,
Implementation
const Leg({
this.arrivalTime,
this.departureTime,
this.distance,
this.duration,
this.durationInTraffic,
this.endAddress,
this.endLocation,
this.startAddress,
this.startLocation,
this.steps,
this.viaWaypoint,
});