toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (builtYear != null) 'builtYear': builtYear!,
  if (builtYearException != null) 'builtYearException': builtYearException!,
  if (floorsCount != null) 'floorsCount': floorsCount!,
  if (floorsCountException != null)
    'floorsCountException': floorsCountException!,
  if (lastRenovatedYear != null) 'lastRenovatedYear': lastRenovatedYear!,
  if (lastRenovatedYearException != null)
    'lastRenovatedYearException': lastRenovatedYearException!,
  if (roomsCount != null) 'roomsCount': roomsCount!,
  if (roomsCountException != null)
    'roomsCountException': roomsCountException!,
};