toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (features != null) {
    _json["features"] = features;
  }
  if (inputContent != null) {
    _json["inputContent"] = inputContent;
  }
  if (inputUri != null) {
    _json["inputUri"] = inputUri;
  }
  if (locationId != null) {
    _json["locationId"] = locationId;
  }
  if (outputUri != null) {
    _json["outputUri"] = outputUri;
  }
  if (videoContext != null) {
    _json["videoContext"] = (videoContext).toJson();
  }
  return _json;
}