GoogleCloudDialogflowV2AgentCoachingSuggestion.fromJson constructor

GoogleCloudDialogflowV2AgentCoachingSuggestion.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2AgentCoachingSuggestion.fromJson(core.Map json_)
  : this(
      agentActionSuggestions: (json_['agentActionSuggestions'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      applicableInstructions: (json_['applicableInstructions'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDialogflowV2AgentCoachingInstruction.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      sampleResponses: (json_['sampleResponses'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
    );