bySubgroup static method

Iterable<Emoji> bySubgroup(
  1. EmojiSubgroup subgroup
)

Returns list of Emojis in a same subgroup

Implementation

static Iterable<Emoji> bySubgroup(EmojiSubgroup subgroup){
  return _emojis.where((Emoji emoji) => emoji.emojiSubgroup == subgroup);
}