toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allowlistCoverage': allowlistCoverage,
    'conversationCount': conversationCount,
    'topNMetrics': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse>, List<Map<String, dynamic>>>(topNMetrics, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}