Deity.fromShallowMap constructor
Deity.fromShallowMap(
- Map<String, dynamic> map
)
Implementation
factory Deity.fromShallowMap(Map<String, dynamic> map) {
return Deity(
name: map["name"],
gender: map["gender"],
deityType: map["deityType"],
domains: map["domains"],
alignment: map["alignment"],
depiction: map["depiction"],
worshipedBy: map["worshipedBy"],
worshipers: map["worshipers"],
shrinesRarity: map["shrinesRarity"],
positiveAttribute: map["positiveAttribute"],
negativeAttribute: map["negativeAttribute"],
);
}