Step constructor

Step({
  1. String? name,
  2. required int number,
  3. required double distance,
  4. required double duration,
  5. required bool isLastStep,
  6. double? levelDifference,
  7. Kind? kind,
  8. Direction? direction,
  9. required NavigationInstructions navInstructions,
})

Implementation

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