GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse.fromJson constructor

GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse.fromJson(
    core.Map _json) {
  if (_json.containsKey("annotationResults")) {
    annotationResults = (_json["annotationResults"] as core.List)
        .map<GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults>(
            (value) =>
                new GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
                    .fromJson(value))
        .toList();
  }
}