getUserOwnedEmoticons method

List<Emoticon> getUserOwnedEmoticons(
  1. User user
)

Implementation

List<Emoticon> getUserOwnedEmoticons(User user) {
  List<Emoticon> returnList = [];
  if (user.karma != null) {
    returnList.addAll(getKarmaEmoticons(user.karma!.toInt()));
  }
  if (user.recruited != null) {
    returnList.addAll(getRecruitedEmoticons(user.recruited));
  }
  return returnList;
}