MemberManager.fromList constructor
Implementation
factory MemberManager.fromList(List<Member> payload) {
final members =
Map<Snowflake, Member>.from(payload.fold({}, (value, element) {
return {...value, element.id: element};
}));
return MemberManager(members);
}