AppReleaseItem constructor

AppReleaseItem({
  1. String id = '',
  2. String name = '',
  3. String description = '',
  4. String imgUrl = '',
  5. List<String>? galleryUrls,
  6. String previewUrl = '',
  7. int duration = 0,
  8. ReleaseType type = ReleaseType.single,
  9. ReleaseStatus status = ReleaseStatus.draft,
  10. String ownerEmail = '',
  11. String ownerName = '',
  12. OwnerType ownerType = OwnerType.notDefined,
  13. List<String> categories = const [],
  14. List<String>? tags = const [],
  15. String? metaId,
  16. String? metaName,
  17. String? metaOwnerId,
  18. List<String>? instruments,
  19. String? lyrics,
  20. String? language,
  21. Price? digitalPrice,
  22. Price? physicalPrice,
  23. Price? salePrice,
  24. List<String>? variations,
  25. bool isRental = true,
  26. int? publishedYear,
  27. String? publisher,
  28. Place? place,
  29. List<String>? boughtUsers,
  30. int createdTime = 0,
  31. int? modifiedTime,
  32. int state = 0,
  33. List<String>? externalArtists,
  34. Map<String, String>? featInternalArtists,
  35. List<String>? likedProfiles,
  36. String? externalUrl,
  37. String? webPreviewUrl,
})

URL FOR Preview IN WEB

Implementation

String? webPreviewUrl; ///URL FOR Preview IN WEB

AppReleaseItem({
  this.id = '',
  this.name = '',
  this.description = '',
  this.imgUrl = '',
  this.galleryUrls,
  this.previewUrl = '',
  this.duration = 0,
  this.type = ReleaseType.single,
  this.status = ReleaseStatus.draft,
  this.ownerEmail = '',
  this.ownerName = '',
  this.ownerType = OwnerType.notDefined,
  this.categories = const [],
  this.tags = const [],
  this.metaId,
  this.metaName,
  this.metaOwnerId,
  this.instruments,
  this.lyrics,
  this.language,
  this.digitalPrice,
  this.physicalPrice,
  this.salePrice,
  this.variations,
  this.isRental = true,
  this.publishedYear,
  this.publisher,
  this.place,
  this.boughtUsers,
  this.createdTime = 0,
  this.modifiedTime,
  this.state = 0,
  this.externalArtists,
  this.featInternalArtists,
  this.likedProfiles,
  this.externalUrl,
  this.webPreviewUrl
});