VideoModel class

Model class representing a video to be played in the reels.

Contains all the necessary information to load and play a video, including the URL and optional configuration parameters.

Constructors

VideoModel.new({required String url, Map<String, String>? httpHeaders, VideoPlayerOptions? videoPlayerOptions})
Creates a new VideoModel instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
httpHeaders Map<String, String>?
Optional HTTP headers to use when opening the video.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
The URL of the video to be played.
final
videoPlayerOptions → VideoPlayerOptions?
Optional video player options to customize playback behavior.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited