ingredientSpecialPropertyStatusFromJson function
Implementation
IngredientSpecialPropertyStatus? ingredientSpecialPropertyStatusFromJson(
dynamic json) {
if (json == null || json is! String) {
return null;
}
try {
return IngredientSpecialPropertyStatus.values.firstWhere(
(final IngredientSpecialPropertyStatus key) => _MAP[key] == json,
);
} on StateError {
return null;
}
}