toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bedsCount != null) 'bedsCount': bedsCount!,
      if (bedsCountException != null)
        'bedsCountException': bedsCountException!,
      if (bunkBedsCount != null) 'bunkBedsCount': bunkBedsCount!,
      if (bunkBedsCountException != null)
        'bunkBedsCountException': bunkBedsCountException!,
      if (cribsCount != null) 'cribsCount': cribsCount!,
      if (cribsCountException != null)
        'cribsCountException': cribsCountException!,
      if (doubleBedsCount != null) 'doubleBedsCount': doubleBedsCount!,
      if (doubleBedsCountException != null)
        'doubleBedsCountException': doubleBedsCountException!,
      if (featherPillows != null) 'featherPillows': featherPillows!,
      if (featherPillowsException != null)
        'featherPillowsException': featherPillowsException!,
      if (hypoallergenicBedding != null)
        'hypoallergenicBedding': hypoallergenicBedding!,
      if (hypoallergenicBeddingException != null)
        'hypoallergenicBeddingException': hypoallergenicBeddingException!,
      if (kingBedsCount != null) 'kingBedsCount': kingBedsCount!,
      if (kingBedsCountException != null)
        'kingBedsCountException': kingBedsCountException!,
      if (memoryFoamPillows != null) 'memoryFoamPillows': memoryFoamPillows!,
      if (memoryFoamPillowsException != null)
        'memoryFoamPillowsException': memoryFoamPillowsException!,
      if (otherBedsCount != null) 'otherBedsCount': otherBedsCount!,
      if (otherBedsCountException != null)
        'otherBedsCountException': otherBedsCountException!,
      if (queenBedsCount != null) 'queenBedsCount': queenBedsCount!,
      if (queenBedsCountException != null)
        'queenBedsCountException': queenBedsCountException!,
      if (rollAwayBedsCount != null) 'rollAwayBedsCount': rollAwayBedsCount!,
      if (rollAwayBedsCountException != null)
        'rollAwayBedsCountException': rollAwayBedsCountException!,
      if (singleOrTwinBedsCount != null)
        'singleOrTwinBedsCount': singleOrTwinBedsCount!,
      if (singleOrTwinBedsCountException != null)
        'singleOrTwinBedsCountException': singleOrTwinBedsCountException!,
      if (sofaBedsCount != null) 'sofaBedsCount': sofaBedsCount!,
      if (sofaBedsCountException != null)
        'sofaBedsCountException': sofaBedsCountException!,
      if (syntheticPillows != null) 'syntheticPillows': syntheticPillows!,
      if (syntheticPillowsException != null)
        'syntheticPillowsException': syntheticPillowsException!,
    };