EnhancedCleaning.fromJson constructor

EnhancedCleaning.fromJson(
  1. Map json_
)

Implementation

EnhancedCleaning.fromJson(core.Map json_)
    : this(
        commercialGradeDisinfectantCleaning:
            json_.containsKey('commercialGradeDisinfectantCleaning')
                ? json_['commercialGradeDisinfectantCleaning'] as core.bool
                : null,
        commercialGradeDisinfectantCleaningException:
            json_.containsKey('commercialGradeDisinfectantCleaningException')
                ? json_['commercialGradeDisinfectantCleaningException']
                    as core.String
                : null,
        commonAreasEnhancedCleaning:
            json_.containsKey('commonAreasEnhancedCleaning')
                ? json_['commonAreasEnhancedCleaning'] as core.bool
                : null,
        commonAreasEnhancedCleaningException:
            json_.containsKey('commonAreasEnhancedCleaningException')
                ? json_['commonAreasEnhancedCleaningException'] as core.String
                : null,
        employeesTrainedCleaningProcedures:
            json_.containsKey('employeesTrainedCleaningProcedures')
                ? json_['employeesTrainedCleaningProcedures'] as core.bool
                : null,
        employeesTrainedCleaningProceduresException:
            json_.containsKey('employeesTrainedCleaningProceduresException')
                ? json_['employeesTrainedCleaningProceduresException']
                    as core.String
                : null,
        employeesTrainedThoroughHandWashing:
            json_.containsKey('employeesTrainedThoroughHandWashing')
                ? json_['employeesTrainedThoroughHandWashing'] as core.bool
                : null,
        employeesTrainedThoroughHandWashingException:
            json_.containsKey('employeesTrainedThoroughHandWashingException')
                ? json_['employeesTrainedThoroughHandWashingException']
                    as core.String
                : null,
        employeesWearProtectiveEquipment:
            json_.containsKey('employeesWearProtectiveEquipment')
                ? json_['employeesWearProtectiveEquipment'] as core.bool
                : null,
        employeesWearProtectiveEquipmentException:
            json_.containsKey('employeesWearProtectiveEquipmentException')
                ? json_['employeesWearProtectiveEquipmentException']
                    as core.String
                : null,
        guestRoomsEnhancedCleaning:
            json_.containsKey('guestRoomsEnhancedCleaning')
                ? json_['guestRoomsEnhancedCleaning'] as core.bool
                : null,
        guestRoomsEnhancedCleaningException:
            json_.containsKey('guestRoomsEnhancedCleaningException')
                ? json_['guestRoomsEnhancedCleaningException'] as core.String
                : null,
      );