VroomJob constructor

const VroomJob({
  1. required int id,
  2. ORSCoordinate? location,
  3. String? description,
  4. int? locationIndex,
  5. int? setup = 0,
  6. int? service = 0,
  7. List<int>? amount,
  8. List<int>? delivery,
  9. List<int>? pickup,
  10. List<int>? skills,
  11. int? priority = 0,
  12. List<List<int>>? timeWindows,
})

Implementation

const VroomJob({
  required this.id,
  this.location,
  this.description,
  this.locationIndex,
  this.setup = 0,
  this.service = 0,
  this.amount,
  this.delivery,
  this.pickup,
  this.skills,
  this.priority = 0,
  this.timeWindows,
}) : assert(priority == null || (priority >= 0 && priority <= 100));