fromJson$Enum$GARecommendedEventsEnum function

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

Implementation

Enum$GARecommendedEventsEnum fromJson$Enum$GARecommendedEventsEnum(
    String value) {
  switch (value) {
    case r'LOGIN':
      return Enum$GARecommendedEventsEnum.LOGIN;
    case r'SIGN_UP':
      return Enum$GARecommendedEventsEnum.SIGN_UP;
    case r'SEARCH':
      return Enum$GARecommendedEventsEnum.SEARCH;
    case r'SHARE':
      return Enum$GARecommendedEventsEnum.SHARE;
    case r'EARN_VIRTUAL_CURRENCY':
      return Enum$GARecommendedEventsEnum.EARN_VIRTUAL_CURRENCY;
    case r'SPEND_VIRTUAL_CURRENCY':
      return Enum$GARecommendedEventsEnum.SPEND_VIRTUAL_CURRENCY;
    case r'ADD_PAYMENT_INFO':
      return Enum$GARecommendedEventsEnum.ADD_PAYMENT_INFO;
    case r'ADD_SHIPPING_INFO':
      return Enum$GARecommendedEventsEnum.ADD_SHIPPING_INFO;
    case r'ADD_TO_CART':
      return Enum$GARecommendedEventsEnum.ADD_TO_CART;
    case r'ADD_TO_WISHLIST':
      return Enum$GARecommendedEventsEnum.ADD_TO_WISHLIST;
    case r'BEGIN_CHECKOUT':
      return Enum$GARecommendedEventsEnum.BEGIN_CHECKOUT;
    case r'GENERATE_LEAD':
      return Enum$GARecommendedEventsEnum.GENERATE_LEAD;
    case r'PURCHASE':
      return Enum$GARecommendedEventsEnum.PURCHASE;
    case r'REFUND':
      return Enum$GARecommendedEventsEnum.REFUND;
    case r'REMOVE_FROM_CART':
      return Enum$GARecommendedEventsEnum.REMOVE_FROM_CART;
    case r'SELECT_ITEM':
      return Enum$GARecommendedEventsEnum.SELECT_ITEM;
    case r'SELECT_PROMOTION':
      return Enum$GARecommendedEventsEnum.SELECT_PROMOTION;
    case r'VIEW_CART':
      return Enum$GARecommendedEventsEnum.VIEW_CART;
    case r'VIEW_ITEM':
      return Enum$GARecommendedEventsEnum.VIEW_ITEM;
    case r'VIEW_PROMOTION':
      return Enum$GARecommendedEventsEnum.VIEW_PROMOTION;
    default:
      return Enum$GARecommendedEventsEnum.$unknown;
  }
}