TruckRouteSearchOptions constructor

const TruckRouteSearchOptions({
  1. required CarRouteSearchOptions car,
  2. int? truckLength = null,
  3. int? truckHeight = null,
  4. int? truckWidth = null,
  5. int? actualMass = null,
  6. int? maxPermittedMass = null,
  7. int? axleLoad = null,
  8. bool dangerousCargo = false,
  9. bool explosiveCargo = false,
  10. Set<TruckPassZonePassId> passIds = const {},
  11. bool fallbackOnCar = false,
})

Implementation

const TruckRouteSearchOptions({
  required this.car,
  this.truckLength = null,
  this.truckHeight = null,
  this.truckWidth = null,
  this.actualMass = null,
  this.maxPermittedMass = null,
  this.axleLoad = null,
  this.dangerousCargo = false,
  this.explosiveCargo = false,
  this.passIds = const {},
  this.fallbackOnCar = false
});