GuestUnitFeatures.fromJson constructor
GuestUnitFeatures.fromJson(
- Map json_
Implementation
GuestUnitFeatures.fromJson(core.Map json_)
: this(
bungalowOrVilla: json_.containsKey('bungalowOrVilla')
? json_['bungalowOrVilla'] as core.bool
: null,
bungalowOrVillaException:
json_.containsKey('bungalowOrVillaException')
? json_['bungalowOrVillaException'] as core.String
: null,
connectingUnitAvailable: json_.containsKey('connectingUnitAvailable')
? json_['connectingUnitAvailable'] as core.bool
: null,
connectingUnitAvailableException:
json_.containsKey('connectingUnitAvailableException')
? json_['connectingUnitAvailableException'] as core.String
: null,
executiveFloor: json_.containsKey('executiveFloor')
? json_['executiveFloor'] as core.bool
: null,
executiveFloorException: json_.containsKey('executiveFloorException')
? json_['executiveFloorException'] as core.String
: null,
maxAdultOccupantsCount: json_.containsKey('maxAdultOccupantsCount')
? json_['maxAdultOccupantsCount'] as core.int
: null,
maxAdultOccupantsCountException:
json_.containsKey('maxAdultOccupantsCountException')
? json_['maxAdultOccupantsCountException'] as core.String
: null,
maxChildOccupantsCount: json_.containsKey('maxChildOccupantsCount')
? json_['maxChildOccupantsCount'] as core.int
: null,
maxChildOccupantsCountException:
json_.containsKey('maxChildOccupantsCountException')
? json_['maxChildOccupantsCountException'] as core.String
: null,
maxOccupantsCount: json_.containsKey('maxOccupantsCount')
? json_['maxOccupantsCount'] as core.int
: null,
maxOccupantsCountException:
json_.containsKey('maxOccupantsCountException')
? json_['maxOccupantsCountException'] as core.String
: null,
privateHome: json_.containsKey('privateHome')
? json_['privateHome'] as core.bool
: null,
privateHomeException: json_.containsKey('privateHomeException')
? json_['privateHomeException'] as core.String
: null,
suite:
json_.containsKey('suite') ? json_['suite'] as core.bool : null,
suiteException: json_.containsKey('suiteException')
? json_['suiteException'] as core.String
: null,
tier: json_.containsKey('tier') ? json_['tier'] as core.String : null,
tierException: json_.containsKey('tierException')
? json_['tierException'] as core.String
: null,
totalLivingAreas: json_.containsKey('totalLivingAreas')
? LivingArea.fromJson(json_['totalLivingAreas']
as core.Map<core.String, core.dynamic>)
: null,
views: json_.containsKey('views')
? ViewsFromUnit.fromJson(
json_['views'] as core.Map<core.String, core.dynamic>)
: null,
);