GoogleCloudVideointelligenceV1p2beta1LabelSegment.fromJson constructor

GoogleCloudVideointelligenceV1p2beta1LabelSegment.fromJson(
  1. Map _json
)

Implementation

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