Playlist class
A playlist object to open inside a Player.open.
Takes List of Media as parameter to open inside the Player instance, for playing sequencially.
new Playlist(
medias: [
Media.file(
new File('C:/music.mp3'),
),
Media.network(
'https://alexmercerind.github.io/music.mp3',
),
Media.file(
new File('C:/audio.mp3'),
),
],
);
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
medias
→ List<
Media> -
List of Media present in the playlist.
final
- mediaSourceType → MediaSourceType
-
no setteroverride
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override