ingredientSpecialPropertyStatusToJson function
- IngredientSpecialPropertyStatus? status
Implementation
String? ingredientSpecialPropertyStatusToJson(
IngredientSpecialPropertyStatus? status) {
if (status == null) {
return null;
}
final String? result = _MAP[status];
if (result != null) {
return result;
}
throw Exception('New enum type is not handled: $status');
}