toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (balcony != null) 'balcony': balcony!,
      if (balconyException != null) 'balconyException': balconyException!,
      if (livingAreaSqMeters != null)
        'livingAreaSqMeters': livingAreaSqMeters!,
      if (livingAreaSqMetersException != null)
        'livingAreaSqMetersException': livingAreaSqMetersException!,
      if (loft != null) 'loft': loft!,
      if (loftException != null) 'loftException': loftException!,
      if (nonSmoking != null) 'nonSmoking': nonSmoking!,
      if (nonSmokingException != null)
        'nonSmokingException': nonSmokingException!,
      if (patio != null) 'patio': patio!,
      if (patioException != null) 'patioException': patioException!,
      if (stairs != null) 'stairs': stairs!,
      if (stairsException != null) 'stairsException': stairsException!,
    };