GoogleCloudDialogflowV2Environment.fromJson constructor

GoogleCloudDialogflowV2Environment.fromJson(
  1. Map json_
)

Implementation

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