Route constructor

Route({
  1. required String summary,
  2. required List<Leg> legs,
  3. required String copyrights,
  4. required Polyline overviewPolyline,
  5. required List warnings,
  6. required List<num> waypointOrder,
  7. required Bounds bounds,
  8. Fare? fare,
})

Implementation

Route({
  required this.summary,
  required this.legs,
  required this.copyrights,
  required this.overviewPolyline,
  required this.warnings,
  required this.waypointOrder,
  required this.bounds,
  this.fare,
});