GoogleCloudDatalabelingV1beta1ExampleComparison.fromJson constructor
GoogleCloudDatalabelingV1beta1ExampleComparison.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1ExampleComparison.fromJson(core.Map json_)
: this(
groundTruthExample: json_.containsKey('groundTruthExample')
? GoogleCloudDatalabelingV1beta1Example.fromJson(
json_['groundTruthExample']
as core.Map<core.String, core.dynamic>)
: null,
modelCreatedExamples: json_.containsKey('modelCreatedExamples')
? (json_['modelCreatedExamples'] as core.List)
.map((value) =>
GoogleCloudDatalabelingV1beta1Example.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);