NativeVideoPlayerPlaylistItem class

One entry in a NativeVideoPlayerPlaylist.

Annotations

Constructors

NativeVideoPlayerPlaylistItem({required String url, Map<String, String>? headers, Map<String, dynamic>? drmConfig, List<NativeVideoPlayerSidecarSubtitle>? sidecarSubtitles, Duration? startAt})
const

Properties

drmConfig Map<String, dynamic>?
Optional DRM configuration for this item.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
Optional HTTP headers for this item's video request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sidecarSubtitles List<NativeVideoPlayerSidecarSubtitle>?
Optional sidecar subtitles loaded together with this item.
final
startAt Duration?
Optional resume position applied natively before the first frame.
final
url String
Video URL (same formats as NativeVideoPlayerController.load).
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