Services.fromJson constructor

Services.fromJson(
  1. Map json_
)

Implementation

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