Step constructor

Step({
  1. String? name,
  2. required int number,
  3. required double distance,
  4. required double duration,
  5. required bool isLastStep,
  6. LevelChange? levelChange,
  7. required NavigationInstructions navInstructions,
})

Implementation

Step({
  this.name,
  required this.number,
  required this.distance,
  required this.duration,
  required this.isLastStep,
  this.levelChange,
  required this.navInstructions,
});