VideoLoadOptions clone()

Create a deep clone of this VideoLoadOptions.

Source

VideoLoadOptions clone() {
  var options = new VideoLoadOptions();
  var urls = this.alternativeUrls;
  options.mp4 = this.mp4;
  options.webm = this.webm;
  options.ogg = this.ogg;
  options.alternativeUrls = urls == null ? null : urls.toList();
  options.loadData = this.loadData;
  options.corsEnabled = this.corsEnabled;
  return options;
}