Character constructor

Character({
  1. required String name,
  2. required Paragraph description,
  3. required Species species,
  4. required String age,
  5. required int remainingCharacterPoints,
  6. required int totalCharacterPoints,
  7. required HealthPoints healthPoints,
  8. required List<Attribute> attributes,
  9. required Inventory inventory,
  10. required List<Spell> spells,
  11. required List<String> bonuses,
})

Implementation

Character({
  required this.name,
  required this.description,
  required this.species,
  required this.age,
  required this.remainingCharacterPoints,
  required this.totalCharacterPoints,
  required this.healthPoints,
  required this.attributes,
  required this.inventory,
  required this.spells,
  required this.bonuses,
});