PostComment constructor

PostComment({
  1. String id = "",
  2. required String postOwnerId,
  3. required String text,
  4. required String postId,
  5. List<String> likedProfiles = const [],
  6. AppMediaType type = AppMediaType.text,
  7. List<CommentReply> replies = const [],
  8. bool isHidden = false,
  9. required String ownerId,
  10. required String ownerImgUrl,
  11. required String ownerName,
  12. String mediaUrl = "",
  13. required int createdTime,
  14. int modifiedTime = 0,
})

Implementation

PostComment({
    this.id = "",
    required this.postOwnerId,
    required this.text,
    required this.postId,
    this.likedProfiles = const [],
    this.type = AppMediaType.text,
    this.replies = const [],
    this.isHidden = false,
    required this.ownerId,
    required this.ownerImgUrl,
    required this.ownerName,
    this.mediaUrl = "",
    required this.createdTime,
    this.modifiedTime = 0,
});