fromJson$Enum$SocialImageStyleEnum function

Enum$SocialImageStyleEnum fromJson$Enum$SocialImageStyleEnum(
  1. String value
)

Implementation

Enum$SocialImageStyleEnum fromJson$Enum$SocialImageStyleEnum(String value) {
  switch (value) {
    case r'BUBBLE':
      return Enum$SocialImageStyleEnum.BUBBLE;
    case r'COLOR':
      return Enum$SocialImageStyleEnum.COLOR;
    case r'STICKER':
      return Enum$SocialImageStyleEnum.STICKER;
    case r'COLOR_HAND_DROWN':
      return Enum$SocialImageStyleEnum.COLOR_HAND_DROWN;
    default:
      return Enum$SocialImageStyleEnum.$unknown;
  }
}