fromJson$Enum$ProductStructureEnum function
Implementation
Enum$ProductStructureEnum fromJson$Enum$ProductStructureEnum(String value) {
switch (value) {
case r'STOCKABLE':
return Enum$ProductStructureEnum.STOCKABLE;
case r'CONSUMABLE':
return Enum$ProductStructureEnum.CONSUMABLE;
case r'SERVICE':
return Enum$ProductStructureEnum.SERVICE;
default:
return Enum$ProductStructureEnum.$unknown;
}
}