PolylineResult constructor

PolylineResult({
  1. String? status,
  2. List<PointLatLng> points = const [],
  3. String? distance,
  4. String? duration,
  5. List<PointLatLng> alternatives = const [],
  6. String? errorMessage = "",
  7. String? distanceText,
  8. int? distanceValue,
  9. String? durationText,
  10. int? durationValue,
  11. String? endAddress,
  12. String? startAddress,
  13. String? overviewPolyline,
})

Implementation

PolylineResult(
    {this.status,
    this.points = const [],
    this.distance,
    this.duration,
    this.alternatives = const [],
    this.errorMessage = "",
    this.distanceText,
    this.distanceValue,
    this.durationText,
    this.durationValue,
    this.endAddress,
    this.startAddress,
    this.overviewPolyline});