Step constructor

Step({
  1. required TravelMode travelMode,
  2. required String htmlInstructions,
  3. required Polyline polyline,
  4. required Location startLocation,
  5. required Location endLocation,
  6. required Value duration,
  7. required Value distance,
  8. TransitDetails? transitDetails,
  9. String? maneuver,
})

Implementation

Step({
  required this.travelMode,
  required this.htmlInstructions,
  required this.polyline,
  required super.startLocation,
  required super.endLocation,
  required super.duration,
  required super.distance,
  this.transitDetails,
  this.maneuver,
});