toJson$Enum$ShareContentTypeEnum function

String toJson$Enum$ShareContentTypeEnum(
  1. Enum$ShareContentTypeEnum e
)

Implementation

String toJson$Enum$ShareContentTypeEnum(Enum$ShareContentTypeEnum e) {
  switch (e) {
    case Enum$ShareContentTypeEnum.PRODUCT:
      return r'PRODUCT';
    case Enum$ShareContentTypeEnum.CATEGORY:
      return r'CATEGORY';
    case Enum$ShareContentTypeEnum.$unknown:
      return r'$unknown';
  }
}