Step constructor

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

Implementation

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