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 Location startLocation,
  required Location endLocation,
  required Value duration,
  required Value distance,
  this.transitDetails,
  this.maneuver,
}) : super(
        startLocation: startLocation,
        endLocation: endLocation,
        duration: duration,
        distance: distance,
      );