GoogleCloudVideointelligenceV1AnnotateVideoRequest.fromJson constructor

GoogleCloudVideointelligenceV1AnnotateVideoRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudVideointelligenceV1AnnotateVideoRequest.fromJson(core.Map json_)
    : this(
        features: json_.containsKey('features')
            ? (json_['features'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        inputContent: json_.containsKey('inputContent')
            ? json_['inputContent'] as core.String
            : null,
        inputUri: json_.containsKey('inputUri')
            ? json_['inputUri'] as core.String
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
        outputUri: json_.containsKey('outputUri')
            ? json_['outputUri'] as core.String
            : null,
        videoContext: json_.containsKey('videoContext')
            ? GoogleCloudVideointelligenceV1VideoContext.fromJson(
                json_['videoContext'] as core.Map<core.String, core.dynamic>)
            : null,
      );