ModerationAPIComment constructor
ModerationAPIComment({
- bool? isLocalDeleted,
- double? replyCount,
- List<
String> feedbackResults = const [], - bool? isVotedUp,
- bool? isVotedDown,
- String? myVoteId,
- required String id,
- required String tenantId,
- required String urlId,
- required String url,
- String? pageTitle,
- String? userId,
- String? anonUserId,
- required String commenterName,
- String? commenterLink,
- required String commentHTML,
- String? parentId,
- required DateTime? date,
- String? localDateString,
- double? votes,
- double? votesUp,
- double? votesDown,
- DateTime? expireAt,
- bool? reviewed,
- String? avatarSrc,
- bool? isSpam,
- bool? permNotSpam,
- bool? hasLinks,
- bool? hasCode,
- required bool approved,
- required String? locale,
- bool? isBannedUser,
- bool? isByAdmin,
- bool? isByModerator,
- bool? isPinned,
- bool? isLocked,
- double? flagCount,
- String? displayLabel,
- List<
CommentUserBadgeInfo> ? badges = const [], - required bool verified,
- List<
String> feedbackIds = const [], - bool? isDeleted,
Returns a new ModerationAPIComment instance.
Implementation
ModerationAPIComment({
this.isLocalDeleted,
this.replyCount,
this.feedbackResults = const [],
this.isVotedUp,
this.isVotedDown,
this.myVoteId,
required this.id,
required this.tenantId,
required this.urlId,
required this.url,
this.pageTitle,
this.userId,
this.anonUserId,
required this.commenterName,
this.commenterLink,
required this.commentHTML,
this.parentId,
required this.date,
this.localDateString,
this.votes,
this.votesUp,
this.votesDown,
this.expireAt,
this.reviewed,
this.avatarSrc,
this.isSpam,
this.permNotSpam,
this.hasLinks,
this.hasCode,
required this.approved,
required this.locale,
this.isBannedUser,
this.isByAdmin,
this.isByModerator,
this.isPinned,
this.isLocked,
this.flagCount,
this.displayLabel,
this.badges = const [],
required this.verified,
this.feedbackIds = const [],
this.isDeleted,
});