Leg constructor

Leg({
  1. List<Step>? steps,
  2. String? startAddress,
  3. String? endAddress,
  4. Value? durationInTraffic,
  5. Time? arrivalTime,
  6. Time? departureTime,
  7. Location? startLocation,
  8. Location? endLocation,
  9. Value? duration,
  10. Value? distance,
})

Implementation

Leg({
  this.steps,
  this.startAddress,
  this.endAddress,
  this.durationInTraffic,
  this.arrivalTime,
  this.departureTime,
  super.startLocation,
  super.endLocation,
  super.duration,
  super.distance,
});