GoogleCloudDialogflowV2Generator.fromJson constructor

GoogleCloudDialogflowV2Generator.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2Generator.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        inferenceParameter: json_.containsKey('inferenceParameter')
            ? GoogleCloudDialogflowV2InferenceParameter.fromJson(
                json_['inferenceParameter']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        summarizationContext: json_.containsKey('summarizationContext')
            ? GoogleCloudDialogflowV2SummarizationContext.fromJson(
                json_['summarizationContext']
                    as core.Map<core.String, core.dynamic>)
            : null,
        triggerEvent: json_.containsKey('triggerEvent')
            ? json_['triggerEvent'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );