withTruckCategory method - VehicleSpecificationTruckBuilder class - transport library - Dart API
withTruckCategory
withTruckCategory abstract method
- TruckCategory truckCategory
Sets the vehicle truck category.
truckCategoryThe vehicle truck category.
Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the truck category set to the new value.
Implementation
VehicleSpecificationTruckBuilder withTruckCategory(TruckCategory truckCategory);