toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bungalowOrVilla != null) 'bungalowOrVilla': bungalowOrVilla!,
      if (bungalowOrVillaException != null)
        'bungalowOrVillaException': bungalowOrVillaException!,
      if (connectingUnitAvailable != null)
        'connectingUnitAvailable': connectingUnitAvailable!,
      if (connectingUnitAvailableException != null)
        'connectingUnitAvailableException': connectingUnitAvailableException!,
      if (executiveFloor != null) 'executiveFloor': executiveFloor!,
      if (executiveFloorException != null)
        'executiveFloorException': executiveFloorException!,
      if (maxAdultOccupantsCount != null)
        'maxAdultOccupantsCount': maxAdultOccupantsCount!,
      if (maxAdultOccupantsCountException != null)
        'maxAdultOccupantsCountException': maxAdultOccupantsCountException!,
      if (maxChildOccupantsCount != null)
        'maxChildOccupantsCount': maxChildOccupantsCount!,
      if (maxChildOccupantsCountException != null)
        'maxChildOccupantsCountException': maxChildOccupantsCountException!,
      if (maxOccupantsCount != null) 'maxOccupantsCount': maxOccupantsCount!,
      if (maxOccupantsCountException != null)
        'maxOccupantsCountException': maxOccupantsCountException!,
      if (privateHome != null) 'privateHome': privateHome!,
      if (privateHomeException != null)
        'privateHomeException': privateHomeException!,
      if (suite != null) 'suite': suite!,
      if (suiteException != null) 'suiteException': suiteException!,
      if (tier != null) 'tier': tier!,
      if (tierException != null) 'tierException': tierException!,
      if (totalLivingAreas != null) 'totalLivingAreas': totalLivingAreas!,
      if (views != null) 'views': views!,
    };