ExternalItem constructor

ExternalItem({
  1. String id = '',
  2. String album = '',
  3. String? albumId,
  4. String ownerName = '',
  5. String? ownerId,
  6. List<String>? externalArtists,
  7. int duration = 0,
  8. List<String>? categories,
  9. String imgUrl = '',
  10. List<String>? galleryUrls,
  11. String? language,
  12. String? description,
  13. String name = '',
  14. String url = '',
  15. List<String>? allUrls,
  16. String? metaOwner,
  17. int? publishedYear,
  18. int? quality,
  19. String permaUrl = '',
  20. int releaseDate = 0,
  21. String lyrics = '',
  22. int? trackNumber,
  23. int? discNumber,
  24. ExternalSource source = ExternalSource.unknown,
  25. bool is320Kbps = false,
  26. int likes = 0,
  27. String? path,
  28. MediaItemType? type,
  29. 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,
});