NavigationInfo constructor

NavigationInfo({
  1. Step? previousStep,
  2. Step? nextStep,
  3. required Leg leg,
  4. required double remainingDistance,
  5. required double remainingTime,
  6. required double traveledDistance,
  7. double? remainingStepDistance,
})

Implementation

NavigationInfo(
    { this.previousStep,
      this.nextStep,
      required this.leg,
      required this.remainingDistance,
      required this.remainingTime,
      required this.traveledDistance,
      this.remainingStepDistance});