GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse.fromJson constructor

GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse.fromJson(
    core.Map _json) {
  if (_json.containsKey("annotationResults")) {
    annotationResults =
        new GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
            .fromJson(_json["annotationResults"]);
  }
  if (_json.containsKey("annotationResultsUri")) {
    annotationResultsUri = _json["annotationResultsUri"];
  }
  if (_json.containsKey("error")) {
    error = new GoogleRpcStatus.fromJson(_json["error"]);
  }
}