Services.fromJson constructor
Services.fromJson(
- Map json_
Implementation
Services.fromJson(core.Map json_)
: this(
baggageStorage: json_.containsKey('baggageStorage')
? json_['baggageStorage'] as core.bool
: null,
baggageStorageException: json_.containsKey('baggageStorageException')
? json_['baggageStorageException'] as core.String
: null,
concierge: json_.containsKey('concierge')
? json_['concierge'] as core.bool
: null,
conciergeException: json_.containsKey('conciergeException')
? json_['conciergeException'] as core.String
: null,
convenienceStore: json_.containsKey('convenienceStore')
? json_['convenienceStore'] as core.bool
: null,
convenienceStoreException:
json_.containsKey('convenienceStoreException')
? json_['convenienceStoreException'] as core.String
: null,
currencyExchange: json_.containsKey('currencyExchange')
? json_['currencyExchange'] as core.bool
: null,
currencyExchangeException:
json_.containsKey('currencyExchangeException')
? json_['currencyExchangeException'] as core.String
: null,
elevator: json_.containsKey('elevator')
? json_['elevator'] as core.bool
: null,
elevatorException: json_.containsKey('elevatorException')
? json_['elevatorException'] as core.String
: null,
frontDesk: json_.containsKey('frontDesk')
? json_['frontDesk'] as core.bool
: null,
frontDeskException: json_.containsKey('frontDeskException')
? json_['frontDeskException'] as core.String
: null,
fullServiceLaundry: json_.containsKey('fullServiceLaundry')
? json_['fullServiceLaundry'] as core.bool
: null,
fullServiceLaundryException:
json_.containsKey('fullServiceLaundryException')
? json_['fullServiceLaundryException'] as core.String
: null,
giftShop: json_.containsKey('giftShop')
? json_['giftShop'] as core.bool
: null,
giftShopException: json_.containsKey('giftShopException')
? json_['giftShopException'] as core.String
: null,
languagesSpoken: json_.containsKey('languagesSpoken')
? (json_['languagesSpoken'] as core.List)
.map((value) => LanguageSpoken.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
selfServiceLaundry: json_.containsKey('selfServiceLaundry')
? json_['selfServiceLaundry'] as core.bool
: null,
selfServiceLaundryException:
json_.containsKey('selfServiceLaundryException')
? json_['selfServiceLaundryException'] as core.String
: null,
socialHour: json_.containsKey('socialHour')
? json_['socialHour'] as core.bool
: null,
socialHourException: json_.containsKey('socialHourException')
? json_['socialHourException'] as core.String
: null,
twentyFourHourFrontDesk: json_.containsKey('twentyFourHourFrontDesk')
? json_['twentyFourHourFrontDesk'] as core.bool
: null,
twentyFourHourFrontDeskException:
json_.containsKey('twentyFourHourFrontDeskException')
? json_['twentyFourHourFrontDeskException'] as core.String
: null,
wakeUpCalls: json_.containsKey('wakeUpCalls')
? json_['wakeUpCalls'] as core.bool
: null,
wakeUpCallsException: json_.containsKey('wakeUpCallsException')
? json_['wakeUpCallsException'] as core.String
: null,
);