GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.fromJson constructor

GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.fromJson(core.Map json_)
    : this(
        n: json_.containsKey('n') ? json_['n'] as core.int : null,
        recall: json_.containsKey('recall')
            ? (json_['recall'] as core.num).toDouble()
            : null,
      );