Itinerary constructor

Itinerary({
  1. required Coordinate from,
  2. required Coordinate to,
  3. required double duration,
  4. required double distance,
  5. required List<Leg> legs,
})

Implementation

Itinerary({
  required this.from,
  required this.to,
  required this.duration,
  required this.distance,
  required this.legs,
});