GoogleCloudRetailV2GenerativeQuestionConfig.fromJson constructor

GoogleCloudRetailV2GenerativeQuestionConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2GenerativeQuestionConfig.fromJson(core.Map json_)
    : this(
        allowedInConversation: json_['allowedInConversation'] as core.bool?,
        catalog: json_['catalog'] as core.String?,
        exampleValues: (json_['exampleValues'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        facet: json_['facet'] as core.String?,
        finalQuestion: json_['finalQuestion'] as core.String?,
        frequency: (json_['frequency'] as core.num?)?.toDouble(),
        generatedQuestion: json_['generatedQuestion'] as core.String?,
      );