Property.fromJson constructor
Property.fromJson(
- Map json_
Implementation
Property.fromJson(core.Map json_)
: this(
builtYear: json_.containsKey('builtYear')
? json_['builtYear'] as core.int
: null,
builtYearException: json_.containsKey('builtYearException')
? json_['builtYearException'] as core.String
: null,
floorsCount: json_.containsKey('floorsCount')
? json_['floorsCount'] as core.int
: null,
floorsCountException: json_.containsKey('floorsCountException')
? json_['floorsCountException'] as core.String
: null,
lastRenovatedYear: json_.containsKey('lastRenovatedYear')
? json_['lastRenovatedYear'] as core.int
: null,
lastRenovatedYearException:
json_.containsKey('lastRenovatedYearException')
? json_['lastRenovatedYearException'] as core.String
: null,
roomsCount: json_.containsKey('roomsCount')
? json_['roomsCount'] as core.int
: null,
roomsCountException: json_.containsKey('roomsCountException')
? json_['roomsCountException'] as core.String
: null,
);