IncreasedFoodSafety.fromJson constructor

IncreasedFoodSafety.fromJson(
  1. Map json_
)

Implementation

IncreasedFoodSafety.fromJson(core.Map json_)
    : this(
        diningAreasAdditionalSanitation:
            json_.containsKey('diningAreasAdditionalSanitation')
                ? json_['diningAreasAdditionalSanitation'] as core.bool
                : null,
        diningAreasAdditionalSanitationException: json_
                .containsKey('diningAreasAdditionalSanitationException')
            ? json_['diningAreasAdditionalSanitationException'] as core.String
            : null,
        disposableFlatware: json_.containsKey('disposableFlatware')
            ? json_['disposableFlatware'] as core.bool
            : null,
        disposableFlatwareException:
            json_.containsKey('disposableFlatwareException')
                ? json_['disposableFlatwareException'] as core.String
                : null,
        foodPreparationAndServingAdditionalSafety: json_
                .containsKey('foodPreparationAndServingAdditionalSafety')
            ? json_['foodPreparationAndServingAdditionalSafety'] as core.bool
            : null,
        foodPreparationAndServingAdditionalSafetyException: json_.containsKey(
                'foodPreparationAndServingAdditionalSafetyException')
            ? json_['foodPreparationAndServingAdditionalSafetyException']
                as core.String
            : null,
        individualPackagedMeals: json_.containsKey('individualPackagedMeals')
            ? json_['individualPackagedMeals'] as core.bool
            : null,
        individualPackagedMealsException:
            json_.containsKey('individualPackagedMealsException')
                ? json_['individualPackagedMealsException'] as core.String
                : null,
        singleUseFoodMenus: json_.containsKey('singleUseFoodMenus')
            ? json_['singleUseFoodMenus'] as core.bool
            : null,
        singleUseFoodMenusException:
            json_.containsKey('singleUseFoodMenusException')
                ? json_['singleUseFoodMenusException'] as core.String
                : null,
      );