GoogleCloudDatalabelingV1beta1EventConfig.fromJson constructor

GoogleCloudDatalabelingV1beta1EventConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1EventConfig.fromJson(core.Map json_)
    : this(
        annotationSpecSets: json_.containsKey('annotationSpecSets')
            ? (json_['annotationSpecSets'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        clipLength: json_.containsKey('clipLength')
            ? json_['clipLength'] as core.int
            : null,
        overlapLength: json_.containsKey('overlapLength')
            ? json_['overlapLength'] as core.int
            : null,
      );