GoogleCloudVideointelligenceV1AnnotateVideoRequest.fromJson constructor

GoogleCloudVideointelligenceV1AnnotateVideoRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudVideointelligenceV1AnnotateVideoRequest.fromJson(core.Map _json) {
  if (_json.containsKey("features")) {
    features = (_json["features"] as core.List).cast<core.String>();
  }
  if (_json.containsKey("inputContent")) {
    inputContent = _json["inputContent"];
  }
  if (_json.containsKey("inputUri")) {
    inputUri = _json["inputUri"];
  }
  if (_json.containsKey("locationId")) {
    locationId = _json["locationId"];
  }
  if (_json.containsKey("outputUri")) {
    outputUri = _json["outputUri"];
  }
  if (_json.containsKey("videoContext")) {
    videoContext = new GoogleCloudVideointelligenceV1VideoContext.fromJson(
        _json["videoContext"]);
  }
}