GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation.fromJson constructor

GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation.fromJson(
    core.Map json_)
    : this(
        annotationSpec: json_.containsKey('annotationSpec')
            ? GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
                json_['annotationSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        sequentialSegment: json_.containsKey('sequentialSegment')
            ? GoogleCloudDatalabelingV1beta1SequentialSegment.fromJson(
                json_['sequentialSegment']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );