GoogleCloudDialogflowCxV3Page.fromJson constructor

GoogleCloudDialogflowCxV3Page.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3Page.fromJson(core.Map json_)
    : this(
        advancedSettings: json_.containsKey('advancedSettings')
            ? GoogleCloudDialogflowCxV3AdvancedSettings.fromJson(
                json_['advancedSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        entryFulfillment: json_.containsKey('entryFulfillment')
            ? GoogleCloudDialogflowCxV3Fulfillment.fromJson(
                json_['entryFulfillment']
                    as core.Map<core.String, core.dynamic>)
            : null,
        eventHandlers: json_.containsKey('eventHandlers')
            ? (json_['eventHandlers'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3EventHandler.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        form: json_.containsKey('form')
            ? GoogleCloudDialogflowCxV3Form.fromJson(
                json_['form'] as core.Map<core.String, core.dynamic>)
            : null,
        knowledgeConnectorSettings: json_
                .containsKey('knowledgeConnectorSettings')
            ? GoogleCloudDialogflowCxV3KnowledgeConnectorSettings.fromJson(
                json_['knowledgeConnectorSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        transitionRouteGroups: json_.containsKey('transitionRouteGroups')
            ? (json_['transitionRouteGroups'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        transitionRoutes: json_.containsKey('transitionRoutes')
            ? (json_['transitionRoutes'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3TransitionRoute.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );