toJson method
Implementation
Map<String, dynamic> toJson() => {
"_meta": meta,
"key": key,
"name": name,
"description": description,
"explanation": explanation,
"classKeys": List<dynamic>.from(classKeys.map((x) => x.toJson())),
"tags": List<dynamic>.from(tags.map((x) => x.toJson())),
"dice": List<dynamic>.from(dice.map((x) => x.toJson()))
};