PostComment constructor
PostComment({
- String id = "",
- required String postOwnerId,
- required String text,
- required String postId,
- List<
String> likedProfiles = const [], - AppMediaType type = AppMediaType.text,
- List<
CommentReply> replies = const [], - bool isHidden = false,
- required String ownerId,
- required String ownerImgUrl,
- required String ownerName,
- String mediaUrl = "",
- required int createdTime,
- 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,
});