FComment constructor
FComment({
- required String id,
- required String tenantId,
- required String urlId,
- String? urlIdRaw,
- required String url,
- String? pageTitle,
- String? userId,
- String? anonUserId,
- String? commenterEmail,
- required String commenterName,
- String? commenterLink,
- required String comment,
- required String commentHTML,
- String? parentId,
- required DateTime? date,
- String? localDateString,
- int? localDateHours,
- int? votes,
- int? votesUp,
- int? votesDown,
- DateTime? expireAt,
- required bool verified,
- DateTime? verifiedDate,
- String? verificationId,
- bool? notificationSentForParent,
- bool? notificationSentForParentTenant,
- bool? reviewed,
- bool? imported,
- String? externalId,
- String? externalParentId,
- String? avatarSrc,
- bool? isSpam,
- bool? permNotSpam,
- bool? aiDeterminedSpam,
- bool? hasImages,
- int? pageNumber,
- int? pageNumberOF,
- int? pageNumberNF,
- bool? hasLinks,
- bool? hasCode,
- required bool approved,
- required String? locale,
- bool? isDeleted,
- bool? isDeletedUser,
- bool? isBannedUser,
- bool? isByAdmin,
- bool? isByModerator,
- bool? isPinned,
- bool? isLocked,
- int? flagCount,
- double? rating,
- String? displayLabel,
- int? fromProductId,
- FCommentMeta? meta,
- String? ipHash,
- List<
CommentUserMentionInfo> mentions = const [], - List<
CommentUserHashTagInfo> hashTags = const [], - List<
CommentUserBadgeInfo> ? badges = const [], - String? domain,
- String? veteranBadgeProcessed,
- List<
String> ? moderationGroupIds = const [], - bool? didProcessBadges,
- bool? fromOfflineRestore,
- String? autoplayJobId,
- int? autoplayDelayMS,
- List<
String> feedbackIds = const [], - List<
CommentLogEntry> ? logs = const [], - List<
String> ? groupIds = const [], - int? viewCount,
- bool? requiresVerification,
- String? editKey,
- DateTime? tosAcceptedAt,
- String? botId,
Returns a new FComment instance.
Implementation
FComment({
required this.id,
required this.tenantId,
required this.urlId,
this.urlIdRaw,
required this.url,
this.pageTitle,
this.userId,
this.anonUserId,
this.commenterEmail,
required this.commenterName,
this.commenterLink,
required this.comment,
required this.commentHTML,
this.parentId,
required this.date,
this.localDateString,
this.localDateHours,
this.votes,
this.votesUp,
this.votesDown,
this.expireAt,
required this.verified,
this.verifiedDate,
this.verificationId,
this.notificationSentForParent,
this.notificationSentForParentTenant,
this.reviewed,
this.imported,
this.externalId,
this.externalParentId,
this.avatarSrc,
this.isSpam,
this.permNotSpam,
this.aiDeterminedSpam,
this.hasImages,
this.pageNumber,
this.pageNumberOF,
this.pageNumberNF,
this.hasLinks,
this.hasCode,
required this.approved,
required this.locale,
this.isDeleted,
this.isDeletedUser,
this.isBannedUser,
this.isByAdmin,
this.isByModerator,
this.isPinned,
this.isLocked,
this.flagCount,
this.rating,
this.displayLabel,
this.fromProductId,
this.meta,
this.ipHash,
this.mentions = const [],
this.hashTags = const [],
this.badges = const [],
this.domain,
this.veteranBadgeProcessed,
this.moderationGroupIds = const [],
this.didProcessBadges,
this.fromOfflineRestore,
this.autoplayJobId,
this.autoplayDelayMS,
this.feedbackIds = const [],
this.logs = const [],
this.groupIds = const [],
this.viewCount,
this.requiresVerification,
this.editKey,
this.tosAcceptedAt,
this.botId,
});