AppMediaItem constructor
AppMediaItem({
- String id = '',
- String album = '',
- String? albumId,
- String artist = '',
- String? artistId,
- List<
String> ? externalArtists, - Map<
String, String> ? featInternalArtists, - int duration = 0,
- List<
String> ? genres, - String imgUrl = '',
- List<
String> ? allImgs, - String? language,
- String? description,
- String name = '',
- String url = '',
- List<
String> ? allUrls, - String? publisher,
- int? publishedYear,
- int? quality,
- String permaUrl = '',
- int releaseDate = 0,
- String lyrics = '',
- int? trackNumber,
- int? discNumber,
- AppMediaSource mediaSource = AppMediaSource.internal,
- bool is320Kbps = false,
- int likes = 0,
- String? path,
- MediaItemType? type,
- int state = 0,
Implementation
AppMediaItem({
this.id = '',
this.album = '',
this.albumId,
this.artist = '',
this.artistId,
this.externalArtists,
this.featInternalArtists,
this.duration = 0,
this.genres,
this.imgUrl = '',
this.allImgs,
this.language,
this.description,
this.name = '',
this.url = '',
this.allUrls,
this.publisher,
this.publishedYear, ///YEAR
this.quality,
this.permaUrl = '',
this.releaseDate = 0,
this.lyrics = '',
this.trackNumber,
this.discNumber,
this.mediaSource = AppMediaSource.internal,
this.is320Kbps = false,
this.likes = 0,
this.path,
this.type,
this.state = 0,
});