Route constructor

Route({
  1. required String weightName,
  2. required double weight,
  3. required double duration,
  4. required double distance,
  5. required List<Leg> legs,
  6. required String geometry,
})

Implementation

Route({
  required this.weightName,
  required this.weight,
  required this.duration,
  required this.distance,
  required this.legs,
  required this.geometry,
});