Playlist class

Inheritance

Constructors

Playlist({List<Audio>? audios, int startIndex = 0})

Properties

audios → List<Audio>
final
currentlyOpenedIn → Set<PlayerEditor>
no setterinherited
hashCode → int
The hash code for this object.
no setteroverride
numberOfItems → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startIndex ↔ int
getter/setter pair

Methods

add(Audio audio) → Playlist
addAll(List<Audio> audios) → Playlist
contains(Audio audio) → bool
copyWith({List<Audio>? audios, int? startIndex}) → Playlist
insert(int index, Audio audio) → Playlist
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(Audio audio) → bool
removeAtIndex(int index) → Audio
removeCurrentlyOpenedIn(PlayerEditor? player) → void
inherited
replaceAt(int index, PlaylistAudioReplacer replacer, {bool keepPlayingPositionIfCurrent = false}) → Playlist
setCurrentlyOpenedIn(PlayerEditor? player) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override