ingredientSpecialPropertyStatusToJson function

String? ingredientSpecialPropertyStatusToJson(
  1. 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');
}