fromJson$Enum$TicketPriorityEnum function

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

Implementation

Enum$TicketPriorityEnum fromJson$Enum$TicketPriorityEnum(String value) {
  switch (value) {
    case r'LOW':
      return Enum$TicketPriorityEnum.LOW;
    case r'NORMAL':
      return Enum$TicketPriorityEnum.NORMAL;
    case r'HIGH':
      return Enum$TicketPriorityEnum.HIGH;
    case r'CRITICAL':
      return Enum$TicketPriorityEnum.CRITICAL;
    default:
      return Enum$TicketPriorityEnum.$unknown;
  }
}