toJson$Enum$DeviceTypeEnum function

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

Implementation

String toJson$Enum$DeviceTypeEnum(Enum$DeviceTypeEnum e) {
  switch (e) {
    case Enum$DeviceTypeEnum.TV:
      return r'TV';
    case Enum$DeviceTypeEnum.TABLET:
      return r'TABLET';
    case Enum$DeviceTypeEnum.CAMERA:
      return r'CAMERA';
    case Enum$DeviceTypeEnum.NO_DATA:
      return r'NO_DATA';
    case Enum$DeviceTypeEnum.DESKTOP:
      return r'DESKTOP';
    case Enum$DeviceTypeEnum.CONSOLE:
      return r'CONSOLE';
    case Enum$DeviceTypeEnum.PHABLET:
      return r'PHABLET';
    case Enum$DeviceTypeEnum.WEARABLE:
      return r'WEARABLE';
    case Enum$DeviceTypeEnum.SMARTPHONE:
      return r'SMARTPHONE';
    case Enum$DeviceTypeEnum.PERIPHERAL:
      return r'PERIPHERAL';
    case Enum$DeviceTypeEnum.CAR_BROWSER:
      return r'CAR_BROWSER';
    case Enum$DeviceTypeEnum.FEATURE_PHONE:
      return r'FEATURE_PHONE';
    case Enum$DeviceTypeEnum.SMART_DISPLAY:
      return r'SMART_DISPLAY';
    case Enum$DeviceTypeEnum.SMART_SPEAKER:
      return r'SMART_SPEAKER';
    case Enum$DeviceTypeEnum.PORTABLE_MEDIA_PLAYER:
      return r'PORTABLE_MEDIA_PLAYER';
    case Enum$DeviceTypeEnum.$unknown:
      return r'$unknown';
  }
}