Steps constructor
Steps({})
Creates a Steps instance representing a navigation step.
All parameters are required but can be null, as different API responses may provide different levels of detail.
Parameters:
distance: Distance information for this stepduration: Duration information for this stependLocation: Ending coordinateshtmlInstructions: Navigation instructions with HTML formattingpolyline: Encoded polyline for the step's pathstartLocation: Starting coordinatestravelMode: Mode of transportationmaneuver: Type of maneuver to perform
Implementation
Steps({
required this.distance,
required this.duration,
required this.endLocation,
required this.htmlInstructions,
required this.polyline,
required this.startLocation,
required this.travelMode,
required this.maneuver,
});