Step constructor
Step({
- required TravelMode travelMode,
- required String htmlInstructions,
- required Polyline polyline,
- required Location startLocation,
- required Location endLocation,
- required Value duration,
- required Value distance,
- TransitDetails? transitDetails,
- 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,
);