RouteDetails constructor
- required List<
RaliPosition> points, - required double distance,
- required double duration,
- required List<
NavigationStep> steps, - required BoundingBox bounds,
- RouteEmphasis emphasis = RouteEmphasis.balanced,
- Map<
String, dynamic> ? trafficAnnotations, - Map<
String, double> ? speedLimits, - List<
Hazard> ? hazards, - Map<
String, List< ? landmarks,Landmark> > - List<
WeatherAlert> ? weatherAlerts,
//////////// ////////////
Implementation
// II.B - Constructor
///////////////
const RouteDetails({
required this.points,
required this.distance,
required this.duration,
required this.steps,
required this.bounds,
this.emphasis = RouteEmphasis.balanced,
this.trafficAnnotations,
this.speedLimits,
this.hazards,
this.landmarks,
this.weatherAlerts,
});