GoogleCloudVideointelligenceV1p1beta1WordInfo.fromJson constructor

GoogleCloudVideointelligenceV1p1beta1WordInfo.fromJson(
  1. Map _json
)

Implementation

GoogleCloudVideointelligenceV1p1beta1WordInfo.fromJson(core.Map _json) {
  if (_json.containsKey("confidence")) {
    confidence = _json["confidence"].toDouble();
  }
  if (_json.containsKey("endTime")) {
    endTime = _json["endTime"];
  }
  if (_json.containsKey("speakerTag")) {
    speakerTag = _json["speakerTag"];
  }
  if (_json.containsKey("startTime")) {
    startTime = _json["startTime"];
  }
  if (_json.containsKey("word")) {
    word = _json["word"];
  }
}