LegAnnotation constructor

LegAnnotation({
  1. List<double>? distance,
  2. List<double>? duration,
  3. List<double>? speed,
  4. List<MaxSpeed>? maxspeed,
  5. List<String>? congestion,
  6. List<int>? nodes,
  7. List<double>? baseDuration,
  8. List<double>? speedLimit,
})

Implementation

LegAnnotation(
    {this.distance,
    this.duration,
    this.speed,
    this.maxspeed,
    this.congestion,
    this.nodes,
    this.baseDuration,
    this.speedLimit});