toJson method
Implementation
Map<String, dynamic> toJson() => {
"_meta": meta,
"name": name,
"key": key,
"description": description,
"damageDice": damageDice.toJson(),
"load": load,
"hp": hp,
"alignments": alignments.toJson(),
"bonds": List<dynamic>.from(bonds),
"flags": List<dynamic>.from(flags),
"gearChoices": List<dynamic>.from(gearChoices.map((x) => x.toJson())),
"isSpellcaster": isSpellcaster,
};