addVideo method Null safety

void addVideo(
  1. String name,
  2. String url,
  3. [VideoLoadOptions? options]
)

Implementation

void addVideo(String name, String url, [VideoLoadOptions? options]) {
  final loader = Video.load(url, options);
  _addResource('Video', name, url, loader);
}