GoogleCloudVideointelligenceV1p3beta1SpeechTranscription.fromJson constructor

GoogleCloudVideointelligenceV1p3beta1SpeechTranscription.fromJson(
  1. Map _json
)

Implementation

GoogleCloudVideointelligenceV1p3beta1SpeechTranscription.fromJson(
    core.Map _json) {
  if (_json.containsKey("alternatives")) {
    alternatives = (_json["alternatives"] as core.List)
        .map<GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>(
            (value) =>
                new GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
                    .fromJson(value))
        .toList();
  }
  if (_json.containsKey("languageCode")) {
    languageCode = _json["languageCode"];
  }
}