PowerMapRouteResult constructor

PowerMapRouteResult({
  1. required double distance,
  2. required double duration,
  3. required List<LatLng> geometry,
  4. required List<PowerRouteStep> steps,
  5. required Map<String, dynamic> raw,
  6. String profile = 'driving',
  7. String? summary,
  8. double? timeMs,
  9. List<double>? bbox,
  10. double? ascend,
  11. double? descend,
})

Implementation

PowerMapRouteResult({
  required this.distance,
  required this.duration,
  required this.geometry,
  required this.steps,
  required this.raw,
  this.profile = 'driving',
  this.summary,
  this.timeMs,
  this.bbox,
  this.ascend,
  this.descend,
});