LivingAreaSleeping.fromJson constructor

LivingAreaSleeping.fromJson(
  1. Map json_
)

Implementation

LivingAreaSleeping.fromJson(core.Map json_)
    : this(
        bedsCount: json_.containsKey('bedsCount')
            ? json_['bedsCount'] as core.int
            : null,
        bedsCountException: json_.containsKey('bedsCountException')
            ? json_['bedsCountException'] as core.String
            : null,
        bunkBedsCount: json_.containsKey('bunkBedsCount')
            ? json_['bunkBedsCount'] as core.int
            : null,
        bunkBedsCountException: json_.containsKey('bunkBedsCountException')
            ? json_['bunkBedsCountException'] as core.String
            : null,
        cribsCount: json_.containsKey('cribsCount')
            ? json_['cribsCount'] as core.int
            : null,
        cribsCountException: json_.containsKey('cribsCountException')
            ? json_['cribsCountException'] as core.String
            : null,
        doubleBedsCount: json_.containsKey('doubleBedsCount')
            ? json_['doubleBedsCount'] as core.int
            : null,
        doubleBedsCountException:
            json_.containsKey('doubleBedsCountException')
                ? json_['doubleBedsCountException'] as core.String
                : null,
        featherPillows: json_.containsKey('featherPillows')
            ? json_['featherPillows'] as core.bool
            : null,
        featherPillowsException: json_.containsKey('featherPillowsException')
            ? json_['featherPillowsException'] as core.String
            : null,
        hypoallergenicBedding: json_.containsKey('hypoallergenicBedding')
            ? json_['hypoallergenicBedding'] as core.bool
            : null,
        hypoallergenicBeddingException:
            json_.containsKey('hypoallergenicBeddingException')
                ? json_['hypoallergenicBeddingException'] as core.String
                : null,
        kingBedsCount: json_.containsKey('kingBedsCount')
            ? json_['kingBedsCount'] as core.int
            : null,
        kingBedsCountException: json_.containsKey('kingBedsCountException')
            ? json_['kingBedsCountException'] as core.String
            : null,
        memoryFoamPillows: json_.containsKey('memoryFoamPillows')
            ? json_['memoryFoamPillows'] as core.bool
            : null,
        memoryFoamPillowsException:
            json_.containsKey('memoryFoamPillowsException')
                ? json_['memoryFoamPillowsException'] as core.String
                : null,
        otherBedsCount: json_.containsKey('otherBedsCount')
            ? json_['otherBedsCount'] as core.int
            : null,
        otherBedsCountException: json_.containsKey('otherBedsCountException')
            ? json_['otherBedsCountException'] as core.String
            : null,
        queenBedsCount: json_.containsKey('queenBedsCount')
            ? json_['queenBedsCount'] as core.int
            : null,
        queenBedsCountException: json_.containsKey('queenBedsCountException')
            ? json_['queenBedsCountException'] as core.String
            : null,
        rollAwayBedsCount: json_.containsKey('rollAwayBedsCount')
            ? json_['rollAwayBedsCount'] as core.int
            : null,
        rollAwayBedsCountException:
            json_.containsKey('rollAwayBedsCountException')
                ? json_['rollAwayBedsCountException'] as core.String
                : null,
        singleOrTwinBedsCount: json_.containsKey('singleOrTwinBedsCount')
            ? json_['singleOrTwinBedsCount'] as core.int
            : null,
        singleOrTwinBedsCountException:
            json_.containsKey('singleOrTwinBedsCountException')
                ? json_['singleOrTwinBedsCountException'] as core.String
                : null,
        sofaBedsCount: json_.containsKey('sofaBedsCount')
            ? json_['sofaBedsCount'] as core.int
            : null,
        sofaBedsCountException: json_.containsKey('sofaBedsCountException')
            ? json_['sofaBedsCountException'] as core.String
            : null,
        syntheticPillows: json_.containsKey('syntheticPillows')
            ? json_['syntheticPillows'] as core.bool
            : null,
        syntheticPillowsException:
            json_.containsKey('syntheticPillowsException')
                ? json_['syntheticPillowsException'] as core.String
                : null,
      );