ingredientSpecialPropertyStatusFromJson function
- dynamic json
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;
}
}