EmojiManager.fromList constructor
Implementation
factory EmojiManager.fromList(List<Role> roles, List<Emoji> emojis) {
return EmojiManager(
Map<Snowflake, Emoji>.from(emojis.fold({}, (value, element) {
return {...value, element.id: element};
})));
}