CreateCommentParams constructor

CreateCommentParams({
  1. int? date,
  2. String? localDateString,
  3. int? localDateHours,
  4. required String commenterName,
  5. String? commenterEmail,
  6. String? commenterLink,
  7. required String comment,
  8. int? productId,
  9. String? userId,
  10. String? avatarSrc,
  11. String? parentId,
  12. List<CommentUserMentionInfo> mentions = const [],
  13. List<CommentUserHashTagInfo> hashTags = const [],
  14. String? pageTitle,
  15. bool? isFromMyAccountPage,
  16. required String url,
  17. required String urlId,
  18. Object? meta,
  19. List<String> moderationGroupIds = const [],
  20. double? rating,
  21. bool? fromOfflineRestore,
  22. int? autoplayDelayMS,
  23. List<String> feedbackIds = const [],
  24. Map<String, GifSearchResponseImagesInnerInner> questionValues = const {},
  25. bool? tos,
  26. String? botId,
  27. bool? approved,
  28. String? domain,
  29. String? ip,
  30. bool? isPinned,
  31. required String locale,
  32. bool? reviewed,
  33. bool? verified,
  34. int? votes,
  35. int? votesDown,
  36. 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,
});