LivingAreaAccessibility.fromJson constructor Null safety

LivingAreaAccessibility.fromJson(
  1. Map _json
)

Implementation

LivingAreaAccessibility.fromJson(core.Map _json)
    : this(
        adaCompliantUnit: _json.containsKey('adaCompliantUnit')
            ? _json['adaCompliantUnit'] as core.bool
            : null,
        adaCompliantUnitException:
            _json.containsKey('adaCompliantUnitException')
                ? _json['adaCompliantUnitException'] as core.String
                : null,
        hearingAccessibleDoorbell:
            _json.containsKey('hearingAccessibleDoorbell')
                ? _json['hearingAccessibleDoorbell'] as core.bool
                : null,
        hearingAccessibleDoorbellException:
            _json.containsKey('hearingAccessibleDoorbellException')
                ? _json['hearingAccessibleDoorbellException'] as core.String
                : null,
        hearingAccessibleFireAlarm:
            _json.containsKey('hearingAccessibleFireAlarm')
                ? _json['hearingAccessibleFireAlarm'] as core.bool
                : null,
        hearingAccessibleFireAlarmException:
            _json.containsKey('hearingAccessibleFireAlarmException')
                ? _json['hearingAccessibleFireAlarmException'] as core.String
                : null,
        hearingAccessibleUnit: _json.containsKey('hearingAccessibleUnit')
            ? _json['hearingAccessibleUnit'] as core.bool
            : null,
        hearingAccessibleUnitException:
            _json.containsKey('hearingAccessibleUnitException')
                ? _json['hearingAccessibleUnitException'] as core.String
                : null,
        mobilityAccessibleBathtub:
            _json.containsKey('mobilityAccessibleBathtub')
                ? _json['mobilityAccessibleBathtub'] as core.bool
                : null,
        mobilityAccessibleBathtubException:
            _json.containsKey('mobilityAccessibleBathtubException')
                ? _json['mobilityAccessibleBathtubException'] as core.String
                : null,
        mobilityAccessibleShower:
            _json.containsKey('mobilityAccessibleShower')
                ? _json['mobilityAccessibleShower'] as core.bool
                : null,
        mobilityAccessibleShowerException:
            _json.containsKey('mobilityAccessibleShowerException')
                ? _json['mobilityAccessibleShowerException'] as core.String
                : null,
        mobilityAccessibleToilet:
            _json.containsKey('mobilityAccessibleToilet')
                ? _json['mobilityAccessibleToilet'] as core.bool
                : null,
        mobilityAccessibleToiletException:
            _json.containsKey('mobilityAccessibleToiletException')
                ? _json['mobilityAccessibleToiletException'] as core.String
                : null,
        mobilityAccessibleUnit: _json.containsKey('mobilityAccessibleUnit')
            ? _json['mobilityAccessibleUnit'] as core.bool
            : null,
        mobilityAccessibleUnitException:
            _json.containsKey('mobilityAccessibleUnitException')
                ? _json['mobilityAccessibleUnitException'] as core.String
                : null,
      );