withWeightPerAxleInKilograms method - VehicleSpecificationTruckBuilder class - transport library - Dart API
withWeightPerAxleInKilograms
withWeightPerAxleInKilograms abstract method
- int weightPerAxleInKilograms
Sets the vehicle weight per axle in kilograms.
weightPerAxleInKilogramsThe vehicle weight per axle in kilograms.
Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the current weight per axle set to the new value.
Implementation
VehicleSpecificationTruckBuilder withWeightPerAxleInKilograms(int weightPerAxleInKilograms);