DirectionParameters constructor
const
DirectionParameters({})
Implementation
const DirectionParameters({
required super.key,
required this.origin,
required this.destination,
this.waypoints,
this.directionMode,
this.avoids,
this.units,
super.center,
super.zoom,
super.mapType,
super.language,
super.region,
}) : assert(waypoints == null || waypoints.length <= kMaxWaypoints,
"Waypoints must be less than or equal to $kMaxWaypoints"),
super(mode: MapMode.directions);