GoogleCloudDialogflowV2SmartReplyMetrics.fromJson constructor
GoogleCloudDialogflowV2SmartReplyMetrics.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2SmartReplyMetrics.fromJson(core.Map json_)
: this(
allowlistCoverage: json_.containsKey('allowlistCoverage')
? (json_['allowlistCoverage'] as core.num).toDouble()
: null,
conversationCount: json_.containsKey('conversationCount')
? json_['conversationCount'] as core.String
: null,
topNMetrics: json_.containsKey('topNMetrics')
? (json_['topNMetrics'] as core.List)
.map((value) =>
GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);