Settlement constructor

const Settlement({
  1. required String name,
  2. required SettlementType settlementType,
  3. Race? dominantRace,
  4. required List<Location> locations,
  5. required String description,
  6. String? dominantOccupation,
  7. required List<Npc> importantCharacters,
  8. required int population,
  9. required String trouble,
})

Implementation

const Settlement({
  required this.name,
  required this.settlementType,
  this.dominantRace,
  required this.locations,
  required this.description,
  this.dominantOccupation,
  required this.importantCharacters,
  required this.population,
  required this.trouble,
});