VideoModel constructor

VideoModel({
  1. required String url,
  2. Map<String, String>? httpHeaders,
  3. VideoPlayerOptions? videoPlayerOptions,
})

Creates a new VideoModel instance.

url is required and must point to a valid video resource. httpHeaders and videoPlayerOptions are optional parameters to customize how the video is loaded and played.

Implementation

VideoModel({required this.url, this.httpHeaders, this.videoPlayerOptions});