CreateCommentParams constructor
CreateCommentParams({
- int? date,
- String? localDateString,
- int? localDateHours,
- required String commenterName,
- String? commenterEmail,
- String? commenterLink,
- required String comment,
- int? productId,
- String? userId,
- String? avatarSrc,
- String? parentId,
- List<
CommentUserMentionInfo> mentions = const [], - List<
CommentUserHashTagInfo> hashTags = const [], - String? pageTitle,
- bool? isFromMyAccountPage,
- required String url,
- required String urlId,
- Object? meta,
- List<
String> moderationGroupIds = const [], - double? rating,
- bool? fromOfflineRestore,
- int? autoplayDelayMS,
- List<
String> feedbackIds = const [], - Map<
String, GifSearchResponseImagesInnerInner> questionValues = const {}, - bool? tos,
- String? botId,
- bool? approved,
- String? domain,
- String? ip,
- bool? isPinned,
- required String locale,
- bool? reviewed,
- bool? verified,
- int? votes,
- int? votesDown,
- int? votesUp,
Returns a new CreateCommentParams instance.
Implementation
CreateCommentParams({
this.date,
this.localDateString,
this.localDateHours,
required this.commenterName,
this.commenterEmail,
this.commenterLink,
required this.comment,
this.productId,
this.userId,
this.avatarSrc,
this.parentId,
this.mentions = const [],
this.hashTags = const [],
this.pageTitle,
this.isFromMyAccountPage,
required this.url,
required this.urlId,
this.meta,
this.moderationGroupIds = const [],
this.rating,
this.fromOfflineRestore,
this.autoplayDelayMS,
this.feedbackIds = const [],
this.questionValues = const {},
this.tos,
this.botId,
this.approved,
this.domain,
this.ip,
this.isPinned,
required this.locale,
this.reviewed,
this.verified,
this.votes,
this.votesDown,
this.votesUp,
});