BaseItem constructor

BaseItem({
  1. String id = '',
  2. String name = '',
  3. String? description,
  4. String imgUrl = '',
  5. List<String>? galleryUrls,
  6. String url = '',
  7. int duration = 0,
  8. int state = 0,
  9. String permaUrl = '',
  10. String ownerId = '',
  11. String ownerName = '',
  12. int publishedYear = 0,
  13. String? metaOwner,
  14. List<String> categories = const [],
})

Implementation

BaseItem({
  this.id = '',
  this.name = '',
  this.description,
  this.imgUrl = '',
  this.galleryUrls,
  this.url = '',
  this.duration = 0,
  this.state = 0,
  this.permaUrl = '',
  this.ownerId = '',
  this.ownerName = '',
  this.publishedYear = 0,
  this.metaOwner,
  this.categories = const [],
});