Itinerary constructor
- required Coordinate from,
- required Coordinate to,
- required double duration,
- required double distance,
- required List<
Leg> legs,
Implementation
Itinerary({
required this.from,
required this.to,
required this.duration,
required this.distance,
required this.legs,
});