GoogleCloudAiplatformV1ErrorAnalysisAnnotation.fromJson constructor

GoogleCloudAiplatformV1ErrorAnalysisAnnotation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ErrorAnalysisAnnotation.fromJson(core.Map json_)
    : this(
        attributedItems: json_.containsKey('attributedItems')
            ? (json_['attributedItems'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        outlierScore: json_.containsKey('outlierScore')
            ? (json_['outlierScore'] as core.num).toDouble()
            : null,
        outlierThreshold: json_.containsKey('outlierThreshold')
            ? (json_['outlierThreshold'] as core.num).toDouble()
            : null,
        queryType: json_.containsKey('queryType')
            ? json_['queryType'] as core.String
            : null,
      );