ExternalItem constructor
ExternalItem({
- String id = '',
- String album = '',
- String? albumId,
- String ownerName = '',
- String? ownerId,
- List<
String> ? externalArtists, - int duration = 0,
- List<
String> ? categories, - String imgUrl = '',
- List<
String> ? galleryUrls, - String? language,
- String? description,
- String name = '',
- String url = '',
- List<
String> ? allUrls, - String? metaOwner,
- int? publishedYear,
- int? quality,
- String permaUrl = '',
- int releaseDate = 0,
- String lyrics = '',
- int? trackNumber,
- int? discNumber,
- ExternalSource source = ExternalSource.unknown,
- bool is320Kbps = false,
- int likes = 0,
- String? path,
- MediaItemType? type,
- int state = 0,
Implementation
ExternalItem({
this.id = '',
this.album = '',
this.albumId,
this.ownerName = '',
this.ownerId,
this.externalArtists,
this.duration = 0,
this.categories,
this.imgUrl = '',
this.galleryUrls,
this.language,
this.description,
this.name = '',
this.url = '',
this.allUrls,
this.metaOwner,
this.publishedYear, ///YEAR
this.quality,
this.permaUrl = '',
this.releaseDate = 0,
this.lyrics = '',
this.trackNumber,
this.discNumber,
this.source = ExternalSource.unknown,
this.is320Kbps = false,
this.likes = 0,
this.path,
this.type,
this.state = 0,
});