GoogleCloudDialogflowV2QueryInput.fromJson constructor

GoogleCloudDialogflowV2QueryInput.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2QueryInput.fromJson(core.Map json_)
    : this(
        audioConfig: json_.containsKey('audioConfig')
            ? GoogleCloudDialogflowV2InputAudioConfig.fromJson(
                json_['audioConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        event: json_.containsKey('event')
            ? GoogleCloudDialogflowV2EventInput.fromJson(
                json_['event'] as core.Map<core.String, core.dynamic>)
            : null,
        text: json_.containsKey('text')
            ? GoogleCloudDialogflowV2TextInput.fromJson(
                json_['text'] as core.Map<core.String, core.dynamic>)
            : null,
      );