Location constructor

const Location({
  1. required String name,
  2. required Npc owner,
  3. required LocationType type,
  4. required String zone,
  5. required List<String> outsideDescription,
  6. required String buildingDescription,
  7. List<Goods>? goods,
})

Implementation

const Location({
  required this.name,
  required this.owner,
  required this.type,
  required this.zone,
  required this.outsideDescription,
  required this.buildingDescription,
  this.goods,
});