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,
      );