M3uGenericEntry class
An entry on a Playlist it can be a simple entry, without attributes, or an entry with custom attributes.
Constructors
-
M3uGenericEntry({required String title, required Map<
String, String?> attributes, required String link}) - Generic constructor with
- M3uGenericEntry.fromEntryInformation({required EntryInformation information, required String link})
-
Constructor from an
EntryInformation
that only hold the title and attributes of a track/streamfactory
Properties
-
attributes
↔ Map<
String, String?> -
Attributes parsed from the line of metadata
Ex:
#EXTINF:-1 tvg-id="identifier" group-title="The Only one",A TV channel
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- link ↔ String
-
Source of the track/stream url that points to a track/stream
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String
-
Hold the information about the track.
This is a raw string there are some formats specific to playlists, but
this is the raw string check EX:
#EXTINF:191,Artist Name - Track Title
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Simple representation of the object on a string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited