toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'name': name,
'leader': leader.toMap(),
'guildType': guildType.getGuildType(),
'reputation': reputation,
'history': history,
'emblem': emblem.toMap(),
'motto': motto,
'specialties': specialties,
'quests': quests,
'notableMembers': notableMembers.map((x) => x.toMap()).toList(),
};
}