Leg constructor

Leg({
  1. required List viaWaypoints,
  2. required List<Admin> admins,
  3. required double weight,
  4. required double duration,
  5. required List<Step> steps,
  6. required double distance,
  7. required String summary,
})

Implementation

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