GoogleCloudAiplatformV1EvaluatedAnnotation.fromJson constructor
GoogleCloudAiplatformV1EvaluatedAnnotation.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1EvaluatedAnnotation.fromJson(core.Map json_)
: this(
dataItemPayload: json_.containsKey('dataItemPayload')
? json_['dataItemPayload']
: null,
errorAnalysisAnnotations: json_
.containsKey('errorAnalysisAnnotations')
? (json_['errorAnalysisAnnotations'] as core.List)
.map((value) =>
GoogleCloudAiplatformV1ErrorAnalysisAnnotation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
evaluatedDataItemViewId: json_.containsKey('evaluatedDataItemViewId')
? json_['evaluatedDataItemViewId'] as core.String
: null,
explanations: json_.containsKey('explanations')
? (json_['explanations'] as core.List)
.map((value) =>
GoogleCloudAiplatformV1EvaluatedAnnotationExplanation
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
groundTruths: json_.containsKey('groundTruths')
? json_['groundTruths'] as core.List
: null,
predictions: json_.containsKey('predictions')
? json_['predictions'] as core.List
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);