Playlist class
Playlist
A Playlist represents a list of Medias & currently playing index. This may be opened in Player for playback.
final playable = Playlist(
[
Media('file:///C:/Users/Hitesh/Music/Sample.mp3'),
Media('file:///C:/Users/Hitesh/Video/Sample.mkv'),
Media('https://www.example.com/sample.mp4'),
Media('rtsp://www.example.com/live'),
],
);
Properties
Methods
-
copyWith(
{List< Media> ? medias, int? index}) → Playlist -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override