RouteProgressEvent constructor

RouteProgressEvent({
  1. bool? arrived,
  2. double? distanceRemaining,
  3. double? durationRemaining,
  4. double? distanceTraveled,
  5. double? currentLegDistanceTraveled,
  6. double? currentLegDistanceRemaining,
  7. String? currentStepInstruction,
  8. RouteLeg? currentLeg,
  9. RouteLeg? priorLeg,
  10. List<RouteLeg>? remainingLegs,
  11. int? legIndex,
  12. int? stepIndex,
  13. bool? isProgressEvent,
  14. String? currentModifier,
  15. String? currentModifierType,
  16. double? distanceToNextTurn,
})

Implementation

RouteProgressEvent(
    {this.arrived,
    this.distanceRemaining,
    this.durationRemaining,
    this.distanceTraveled,
    this.currentLegDistanceTraveled,
    this.currentLegDistanceRemaining,
    this.currentStepInstruction,
    this.currentLeg,
    this.priorLeg,
    this.remainingLegs,
    this.legIndex,
    this.stepIndex,
    this.isProgressEvent,
    this.currentModifier,
    this.currentModifierType,
    this.distanceToNextTurn});