Guild.fromShallowMap constructor

Guild.fromShallowMap(
  1. Map<String, dynamic> map
)

Implementation

factory Guild.fromShallowMap(Map<String, dynamic> map) {
  return Guild(
    name: map["name"],
    leader: map["leader"],
    guildType: map["guildType"],
    reputation: map["reputation"],
    history: map["history"],
    emblem: map["emblem"],
    motto: map["motto"],
    specialties: map["specialties"],
    quests: map["quests"],
    notableMembers: map["notableMembers"],
  );
}