withIsCommercial method - VehicleSpecificationTruckBuilder class - transport library - Dart API
withIsCommercial
withIsCommercial abstract method
- bool isCommercial
Sets the vehicle is commercial flag.
isCommercialThe vehicle is commercial flag.
Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the is commercial flag set to the new value.
Implementation
VehicleSpecificationTruckBuilder withIsCommercial(bool isCommercial);