DirectionRoute constructor

DirectionRoute({
  1. String? routeIndex,
  2. num? distance,
  3. num? duration,
  4. String? geometry,
  5. num? weight,
  6. String? weightName,
  7. List<Legs>? legs,
  8. RouteOptions? routeOptions,
  9. String? voiceLocale,
})

Implementation

DirectionRoute(
    {this.routeIndex,
    this.distance,
    this.duration,
    this.geometry,
    this.weight,
    this.weightName,
    this.legs,
    this.routeOptions,
    this.voiceLocale});