GoogleCloudDialogflowV2AnswerFeedback.fromJson constructor

GoogleCloudDialogflowV2AnswerFeedback.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2AnswerFeedback.fromJson(core.Map json_)
    : this(
        agentAssistantDetailFeedback:
            json_.containsKey('agentAssistantDetailFeedback')
                ? GoogleCloudDialogflowV2AgentAssistantFeedback.fromJson(
                    json_['agentAssistantDetailFeedback']
                        as core.Map<core.String, core.dynamic>)
                : null,
        clickTime: json_.containsKey('clickTime')
            ? json_['clickTime'] as core.String
            : null,
        clicked: json_.containsKey('clicked')
            ? json_['clicked'] as core.bool
            : null,
        correctnessLevel: json_.containsKey('correctnessLevel')
            ? json_['correctnessLevel'] as core.String
            : null,
        displayTime: json_.containsKey('displayTime')
            ? json_['displayTime'] as core.String
            : null,
        displayed: json_.containsKey('displayed')
            ? json_['displayed'] as core.bool
            : null,
      );