fromJson$Enum$PurchaseStatusEnum function
Implementation
Enum$PurchaseStatusEnum fromJson$Enum$PurchaseStatusEnum(String value) {
switch (value) {
case r'OPEN':
return Enum$PurchaseStatusEnum.OPEN;
case r'CANCELED':
return Enum$PurchaseStatusEnum.CANCELED;
case r'CONFIRMED':
return Enum$PurchaseStatusEnum.CONFIRMED;
case r'DELIVERED':
return Enum$PurchaseStatusEnum.DELIVERED;
default:
return Enum$PurchaseStatusEnum.$unknown;
}
}