GoogleCloudDialogflowV2SmartReplyMetrics.fromJson constructor

GoogleCloudDialogflowV2SmartReplyMetrics.fromJson(
  1. Map json_
)

Implementation

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