Leg constructor

Leg({
  1. List? viaWaypoints,
  2. List<Admin>? admins,
  3. Annotation? annotation,
  4. double? weightTypical,
  5. double? durationTypical,
  6. double? weight,
  7. double? duration,
  8. List<Step>? steps,
  9. double? distance,
  10. String? summary,
})

Implementation

Leg({
  this.viaWaypoints,
  this.admins,
  this.annotation,
  this.weightTypical,
  this.durationTypical,
  this.weight,
  this.duration,
  this.steps,
  this.distance,
  this.summary,
});