GoogleCloudDialogflowCxV3ExperimentResultMetric.fromJson constructor

GoogleCloudDialogflowCxV3ExperimentResultMetric.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3ExperimentResultMetric.fromJson(core.Map json_)
    : this(
        confidenceInterval: json_.containsKey('confidenceInterval')
            ? GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
                .fromJson(json_['confidenceInterval']
                    as core.Map<core.String, core.dynamic>)
            : null,
        count: json_.containsKey('count')
            ? (json_['count'] as core.num).toDouble()
            : null,
        countType: json_.containsKey('countType')
            ? json_['countType'] as core.String
            : null,
        ratio: json_.containsKey('ratio')
            ? (json_['ratio'] as core.num).toDouble()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );