PeamanComment constructor

PeamanComment({
  1. String? id,
  2. String? feedId,
  3. String? ownerId,
  4. String? secondUserId,
  5. String? secondUserName,
  6. PeamanCommentParent parent = PeamanCommentParent.feed,
  7. String? parentId,
  8. String? parentOwnerId,
  9. String? comment,
  10. int reactionsCount = 0,
  11. int repliesCount = 0,
  12. int? createdAt,
  13. int? updatedAt,
  14. bool visibility = true,
  15. Map<String, dynamic> extraData = const {},
})

Implementation

PeamanComment({
  this.id,
  this.feedId,
  this.ownerId,
  this.secondUserId,
  this.secondUserName,
  this.parent = PeamanCommentParent.feed,
  this.parentId,
  this.parentOwnerId,
  this.comment,
  this.reactionsCount = 0,
  this.repliesCount = 0,
  this.createdAt,
  this.updatedAt,
  this.visibility = true,
  this.extraData = const {},
});