Directions constructor

const Directions({
  1. LatLngBounds? bounds,
  2. List<PointLatLng>? polylinePoints,
  3. String? totalDistance,
  4. String? totalDuration,
  5. LatLng? startPosition,
  6. LatLng? endPosition,
  7. LatLng? someDistancePosition,
  8. bool? error,
  9. String? errorMsg,
  10. String? startAddress,
  11. String? endAddress,
  12. double? distanceVal,
})

Implementation

const Directions(
    {this.bounds,
    this.polylinePoints,
    this.totalDistance,
    this.totalDuration,
    this.startPosition,
    this.endPosition,
    this.someDistancePosition,
    this.error,
    this.errorMsg,
    this.startAddress,
    this.endAddress,
    this.distanceVal});