DirectionsRoute constructor

DirectionsRoute({
  1. double? distance,
  2. double? duration,
  3. String? geometry,
  4. double? weight,
  5. String? weightName,
  6. int? routeIndex,
  7. List<RouteLeg>? legs,
  8. RouteOptions? routeOptions,
})

Implementation

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