GoogleCloudDialogflowCxV3QueryInput.fromJson constructor

GoogleCloudDialogflowCxV3QueryInput.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3QueryInput.fromJson(core.Map json_)
    : this(
        audio: json_.containsKey('audio')
            ? GoogleCloudDialogflowCxV3AudioInput.fromJson(
                json_['audio'] as core.Map<core.String, core.dynamic>)
            : null,
        dtmf: json_.containsKey('dtmf')
            ? GoogleCloudDialogflowCxV3DtmfInput.fromJson(
                json_['dtmf'] as core.Map<core.String, core.dynamic>)
            : null,
        event: json_.containsKey('event')
            ? GoogleCloudDialogflowCxV3EventInput.fromJson(
                json_['event'] as core.Map<core.String, core.dynamic>)
            : null,
        intent: json_.containsKey('intent')
            ? GoogleCloudDialogflowCxV3IntentInput.fromJson(
                json_['intent'] as core.Map<core.String, core.dynamic>)
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        text: json_.containsKey('text')
            ? GoogleCloudDialogflowCxV3TextInput.fromJson(
                json_['text'] as core.Map<core.String, core.dynamic>)
            : null,
      );