GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion.fromJson constructor

GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion.fromJson(
  core.Map json_,
) : this(
      followupQuestion: json_['followupQuestion'] as core.String?,
      suggestedAnswers:
          (json_['suggestedAnswers'] as core.List?)
              ?.map(
                (value) =>
                    GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestionSuggestedAnswer.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
    );