Leg constructor
Leg({})
Implementation
Leg({
required this.steps,
required this.startAddress,
required this.endAddress,
this.durationInTraffic,
this.arrivalTime,
this.departureTime,
required Location startLocation,
required Location endLocation,
required Value duration,
required Value distance,
}) : super(
startLocation: startLocation,
endLocation: endLocation,
duration: duration,
distance: distance,
);