GoogleCloudDatalabelingV1beta1VideoClassificationConfig.fromJson constructor

GoogleCloudDatalabelingV1beta1VideoClassificationConfig.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1VideoClassificationConfig.fromJson(
    core.Map _json)
    : this(
        annotationSpecSetConfigs:
            _json.containsKey('annotationSpecSetConfigs')
                ? (_json['annotationSpecSetConfigs'] as core.List)
                    .map((value) =>
                        GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        applyShotDetection: _json.containsKey('applyShotDetection')
            ? _json['applyShotDetection'] as core.bool
            : null,
      );