GoogleCloudVideointelligenceV1beta2LabelSegment.fromJson constructor

GoogleCloudVideointelligenceV1beta2LabelSegment.fromJson(
  1. Map _json
)

Implementation

GoogleCloudVideointelligenceV1beta2LabelSegment.fromJson(core.Map _json) {
  if (_json.containsKey("confidence")) {
    confidence = _json["confidence"].toDouble();
  }
  if (_json.containsKey("segment")) {
    segment = new GoogleCloudVideointelligenceV1beta2VideoSegment.fromJson(
        _json["segment"]);
  }
}