withSkinTone method
Returns a variation of this emoji with skinTone
.
Implementation
AnimatedEmojiData withSkinTone(SkinTone skinTone) {
switch (skinTone) {
case SkinTone.light:
return light;
case SkinTone.mediumLight:
return mediumLight;
case SkinTone.medium:
return medium;
case SkinTone.mediumDark:
return mediumDark;
case SkinTone.dark:
return dark;
}
}