GoogleCloudDialogflowV2Environment.fromJson constructor

GoogleCloudDialogflowV2Environment.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2Environment.fromJson(core.Map json_)
    : this(
        agentVersion: json_['agentVersion'] as core.String?,
        description: json_['description'] as core.String?,
        fulfillment: json_.containsKey('fulfillment')
            ? GoogleCloudDialogflowV2Fulfillment.fromJson(
                json_['fulfillment'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_['name'] as core.String?,
        state: json_['state'] as core.String?,
        textToSpeechSettings: json_.containsKey('textToSpeechSettings')
            ? GoogleCloudDialogflowV2TextToSpeechSettings.fromJson(
                json_['textToSpeechSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_['updateTime'] as core.String?,
      );