Location constructor

const Location({
  1. required String id,
  2. required String name,
  3. String? type,
  4. LocationAddress? address,
  5. String? licensePlate,
  6. bool active = true,
  7. bool virtual = false,
})

Implementation

const Location({
  required this.id,
  required this.name,
  this.type,
  this.address,
  this.licensePlate,
  this.active = true,
  this.virtual = false,
});