fromJson$Enum$PlatformEnum function

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

Implementation

Enum$PlatformEnum fromJson$Enum$PlatformEnum(String value) {
  switch (value) {
    case r'IOS':
      return Enum$PlatformEnum.IOS;
    case r'ANDROID':
      return Enum$PlatformEnum.ANDROID;
    case r'WEB':
      return Enum$PlatformEnum.WEB;
    case r'DESKTOP':
      return Enum$PlatformEnum.DESKTOP;
    default:
      return Enum$PlatformEnum.$unknown;
  }
}