GoogleCloudVideointelligenceV1LabelDetectionConfig.fromJson constructor
GoogleCloudVideointelligenceV1LabelDetectionConfig.fromJson(
- Map json_
Implementation
GoogleCloudVideointelligenceV1LabelDetectionConfig.fromJson(core.Map json_)
: this(
frameConfidenceThreshold:
json_.containsKey('frameConfidenceThreshold')
? (json_['frameConfidenceThreshold'] as core.num).toDouble()
: null,
labelDetectionMode: json_.containsKey('labelDetectionMode')
? json_['labelDetectionMode'] as core.String
: null,
model:
json_.containsKey('model') ? json_['model'] as core.String : null,
stationaryCamera: json_.containsKey('stationaryCamera')
? json_['stationaryCamera'] as core.bool
: null,
videoConfidenceThreshold:
json_.containsKey('videoConfidenceThreshold')
? (json_['videoConfidenceThreshold'] as core.num).toDouble()
: null,
);