DownloadOptions class

Includes media information and download options for audio and video tracks

Constructors

DownloadOptions(String? mediaId, MediaInfo mediaInfo, List<AudioTrack> allAudio, List<VideoTrack> allVideo)

Properties

allAudio List<AudioTrack>
getter/setter pair
allVideo List<VideoTrack>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mediaId String?
getter/setter pair
mediaInfo MediaInfo
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromMap(Map<Object?, Object?> downloadOptionsMap, String? otp, String? token, String? playbackInfo, String? customPlayerId) DownloadOptions
toMap(DownloadOptions downloadOptions) Map<String, Object?>