VroomVehicle constructor
const
VroomVehicle({
- required int id,
- String profile = 'driving-car',
- String? description,
- Coordinate? start,
- int? startIndex,
- Coordinate? end,
- int? endIndex,
- List<
int> ? capacity, - List<
int> ? skills, - List<
int> ? timeWindow, - List<
VroomVehicleBreak> ? breaks, - double? speedFactor = 1,
- int? maxTasks,
- List<
VroomVehicleStep> ? steps,
Implementation
const VroomVehicle({
required this.id,
this.profile = 'driving-car',
this.description,
this.start,
this.startIndex,
this.end,
this.endIndex,
this.capacity,
this.skills,
this.timeWindow,
this.breaks,
this.speedFactor = 1,
this.maxTasks,
this.steps,
}) : assert(start != null || end != null);