truckProfile property
Truck routing profile with vehicle-specific constraints.
Configure truck-specific routing preferences including dimensions (height, length, width), axle load, mass, max speed, fuel type, and plate number. Only used when transportMode is RouteTransportMode.lorry.
For caravan/trailer routing, use transportMode = RouteTransportMode.car with a truckProfile to apply size constraints while avoiding truck-specific road restrictions.
Default is null (no truck profile).
Implementation
TruckProfile? truckProfile;