GoogleCloudDialogflowV2EvaluationConfig.fromJson constructor
GoogleCloudDialogflowV2EvaluationConfig.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2EvaluationConfig.fromJson(core.Map json_)
: this(
datasets:
(json_['datasets'] as core.List?)
?.map(
(value) => GoogleCloudDialogflowV2InputDataset.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
smartComposeConfig:
json_.containsKey('smartComposeConfig')
? GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig.fromJson(
json_['smartComposeConfig']
as core.Map<core.String, core.dynamic>,
)
: null,
smartReplyConfig:
json_.containsKey('smartReplyConfig')
? GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.fromJson(
json_['smartReplyConfig']
as core.Map<core.String, core.dynamic>,
)
: null,
);