numStops property

num? numStops
final

Contains the number of stops in this step, counting the arrival stop, but not the departure stop. For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D, numStops will return 3.

Implementation

final num? numStops;