enum SCGiftType { ANIMSCION, MUSIC, GLOBAL_GIFT, LUCKY_GIFT, MAGIC, CP }

const String kSCGiftAnimationSpecialAlias = 'ANIMATION';

bool scGiftHasAnimationSpecial(String? special) {
  final value = special ?? '';
  return value.contains(SCGiftType.ANIMSCION.name) ||
      value.contains(kSCGiftAnimationSpecialAlias);
}

bool scGiftHasFullScreenEffect(String? special) {
  final value = special ?? '';
  return scGiftHasAnimationSpecial(value) ||
      value.contains(SCGiftType.GLOBAL_GIFT.name);
}
