toJsonAsMaps method
Dump all the data as a JSON map. Same as toJson()
See toJson
See toJsonAsLists
Implementation
Map<String, dynamic> toJsonAsMaps() => {
"CharacterClasses": characterClasses
.map(((key, value) => MapEntry(key, value.toJson()))),
"Items": items.map(((key, value) => MapEntry(key, value.toJson()))),
"Monsters":
monsters.map(((key, value) => MapEntry(key, value.toJson()))),
"Moves": moves.map(((key, value) => MapEntry(key, value.toJson()))),
"Races": races.map(((key, value) => MapEntry(key, value.toJson()))),
"Spells": spells.map(((key, value) => MapEntry(key, value.toJson()))),
"Tags": tags.map(((key, value) => MapEntry(key, value.toJson()))),
};