SubCommentDTO constructor
SubCommentDTO({
- String? id,
- required String postId,
- required String commentedBy,
- required String userId,
- required String userDispalyName,
- String? userImgUrl = "",
- String? tagTo,
- required DateTime commentedDate,
- required String comment,
- required List<
String> commentImgUrl, - required List<
CommentLike> commentLikeCounts, - required List<
LikedUser> likesUsers,
Implementation
SubCommentDTO({
this.id,
required this.postId,
required this.commentedBy,
required this.userId,
required this.userDispalyName,
this.userImgUrl="",
this.tagTo,
required this.commentedDate,
required this.comment,
required this.commentImgUrl,
required this.commentLikeCounts,
required this.likesUsers,
});