toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (airConditioning != null) 'airConditioning': airConditioning!,
  if (airConditioningException != null)
    'airConditioningException': airConditioningException!,
  if (bathtub != null) 'bathtub': bathtub!,
  if (bathtubException != null) 'bathtubException': bathtubException!,
  if (bidet != null) 'bidet': bidet!,
  if (bidetException != null) 'bidetException': bidetException!,
  if (dryer != null) 'dryer': dryer!,
  if (dryerException != null) 'dryerException': dryerException!,
  if (electronicRoomKey != null) 'electronicRoomKey': electronicRoomKey!,
  if (electronicRoomKeyException != null)
    'electronicRoomKeyException': electronicRoomKeyException!,
  if (fireplace != null) 'fireplace': fireplace!,
  if (fireplaceException != null) 'fireplaceException': fireplaceException!,
  if (hairdryer != null) 'hairdryer': hairdryer!,
  if (hairdryerException != null) 'hairdryerException': hairdryerException!,
  if (heating != null) 'heating': heating!,
  if (heatingException != null) 'heatingException': heatingException!,
  if (inunitSafe != null) 'inunitSafe': inunitSafe!,
  if (inunitSafeException != null)
    'inunitSafeException': inunitSafeException!,
  if (inunitWifiAvailable != null)
    'inunitWifiAvailable': inunitWifiAvailable!,
  if (inunitWifiAvailableException != null)
    'inunitWifiAvailableException': inunitWifiAvailableException!,
  if (ironingEquipment != null) 'ironingEquipment': ironingEquipment!,
  if (ironingEquipmentException != null)
    'ironingEquipmentException': ironingEquipmentException!,
  if (payPerViewMovies != null) 'payPerViewMovies': payPerViewMovies!,
  if (payPerViewMoviesException != null)
    'payPerViewMoviesException': payPerViewMoviesException!,
  if (privateBathroom != null) 'privateBathroom': privateBathroom!,
  if (privateBathroomException != null)
    'privateBathroomException': privateBathroomException!,
  if (shower != null) 'shower': shower!,
  if (showerException != null) 'showerException': showerException!,
  if (toilet != null) 'toilet': toilet!,
  if (toiletException != null) 'toiletException': toiletException!,
  if (tv != null) 'tv': tv!,
  if (tvCasting != null) 'tvCasting': tvCasting!,
  if (tvCastingException != null) 'tvCastingException': tvCastingException!,
  if (tvException != null) 'tvException': tvException!,
  if (tvStreaming != null) 'tvStreaming': tvStreaming!,
  if (tvStreamingException != null)
    'tvStreamingException': tvStreamingException!,
  if (universalPowerAdapters != null)
    'universalPowerAdapters': universalPowerAdapters!,
  if (universalPowerAdaptersException != null)
    'universalPowerAdaptersException': universalPowerAdaptersException!,
  if (washer != null) 'washer': washer!,
  if (washerException != null) 'washerException': washerException!,
};