M3uGenericEntry.fromEntryInformation constructor

M3uGenericEntry.fromEntryInformation({
  1. required EntryInformation information,
  2. required String link,
})

Constructor from an EntryInformation that only hold the title and attributes of a track/stream

Implementation

factory M3uGenericEntry.fromEntryInformation(
        {required EntryInformation information, required String link}) =>
    M3uGenericEntry(
        title: information.title,
        attributes: information.attributes,
        link: link);