VideoModel constructor

VideoModel({
  1. int? id,
  2. String? user,
  3. String? userPic,
  4. String? videoTitle,
  5. String? songName,
  6. int? likes,
  7. String? comments,
  8. String? videoDescription,
  9. String? thumbnail,
  10. required String url,
  11. bool liked = false,
  12. String? productName,
  13. String? productPermalink,
  14. String? stockStatus = 'instock',
})

Implementation

VideoModel({
  this.id,
  this.user,
  this.userPic,
  this.videoTitle,
  this.songName,
  this.likes,
  this.comments,
  this.videoDescription,
  this.thumbnail,
  required this.url,
  this.liked = false,
  this.productName,
  this.productPermalink,
  this.stockStatus = 'instock',
});