fromJson$Enum$DeleteUserReasonEnum function

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

Implementation

Enum$DeleteUserReasonEnum fromJson$Enum$DeleteUserReasonEnum(String value) {
  switch (value) {
    case r'LACK_OF_CONTENT':
      return Enum$DeleteUserReasonEnum.LACK_OF_CONTENT;
    case r'SOMETHING_IS_BROKEN':
      return Enum$DeleteUserReasonEnum.SOMETHING_IS_BROKEN;
    case r'SIZE_AND_COMPATIBILITY':
      return Enum$DeleteUserReasonEnum.SIZE_AND_COMPATIBILITY;
    default:
      return Enum$DeleteUserReasonEnum.$unknown;
  }
}