GoogleCloudVideointelligenceV1AnnotateVideoResponse.fromJson constructor

GoogleCloudVideointelligenceV1AnnotateVideoResponse.fromJson(
  1. Map _json
)

Implementation

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