GoogleCloudDialogflowV2ToolsetTool.fromJson constructor

GoogleCloudDialogflowV2ToolsetTool.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2ToolsetTool.fromJson(core.Map json_)
  : this(
      confirmationRequirement:
          json_['confirmationRequirement'] as core.String?,
      operationId: json_['operationId'] as core.String?,
      parameterOverrides: (json_['parameterOverrides'] as core.List?)
          ?.map(
            (value) => GoogleCloudDialogflowV2ParameterOverride.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      proactiveEnabled: json_['proactiveEnabled'] as core.bool?,
      reactiveEnabled: json_['reactiveEnabled'] as core.bool?,
      toolset: json_['toolset'] as core.String?,
    );