Reels constructor

Reels({
  1. required int id,
  2. required String videoUrl,
  3. required String thumbnailUrl,
  4. required User owner,
  5. required String description,
  6. required DateTime createdAt,
  7. int likeCount = 0,
  8. int commentCount = 0,
  9. int shareCount = 0,
})

Implementation

Reels({
  required this.id,
  required this.videoUrl,
  required this.thumbnailUrl,
  required this.owner,
  required this.description,
  required this.createdAt,
  this.likeCount = 0,
  this.commentCount = 0,
  this.shareCount = 0,
});