CustomConfigParameters constructor

CustomConfigParameters({
  1. bool? absoluteAndRelativeDates,
  2. bool? absoluteDates,
  3. bool? allowAnon,
  4. bool? allowAnonFlag,
  5. bool? allowAnonVotes,
  6. List<String>? allowedLanguages = const [],
  7. bool? collapseReplies,
  8. String? commentCountFormat,
  9. CommentHTMLRenderingMode? commentHTMLRenderingMode,
  10. CommentThreadDeletionMode? commentThreadDeleteMode,
  11. CommenterNameFormats? commenterNameFormat,
  12. int? countAboveToggle,
  13. String? customCSS,
  14. String? defaultAvatarSrc,
  15. SortDirections? defaultSortDirection,
  16. String? defaultUsername,
  17. bool? disableAutoAdminMigration,
  18. bool? disableAutoHashTagCreation,
  19. bool? disableBlocking,
  20. bool? disableCommenterCommentDelete,
  21. bool? disableCommenterCommentEdit,
  22. bool? disableEmailInputs,
  23. bool? disableLiveCommenting,
  24. bool? disableNotificationBell,
  25. bool? disableProfileComments,
  26. bool? disableProfileDirectMessages,
  27. bool? disableProfiles,
  28. bool? disableSuccessMessage,
  29. bool? disableToolbar,
  30. bool? disableUnverifiedLabel,
  31. bool? disableVoting,
  32. bool? enableCommenterLinks,
  33. bool? enableSearch,
  34. bool? enableSpoilers,
  35. bool? enableThirdPartyCookieBypass,
  36. bool? enableViewCounts,
  37. bool? enableVoteList,
  38. bool? enableWYSIWYG,
  39. GifRating? gifRating,
  40. bool? hasDarkBackground,
  41. String? headerHTML,
  42. bool? hideAvatars,
  43. String? hideCommentsUnderCountTextFormat,
  44. ImageContentProfanityLevel? imageContentProfanityLevel,
  45. bool? inputAfterComments,
  46. bool? limitCommentsByGroups,
  47. String? locale,
  48. int? maxCommentCharacterLength,
  49. int? maxCommentCreatedCountPUPM,
  50. bool? noCustomConfig,
  51. MentionAutoCompleteMode? mentionAutoCompleteMode,
  52. bool? noImageUploads,
  53. bool? allowEmbeds,
  54. List<String>? allowedEmbedDomains = const [],
  55. bool? noStyles,
  56. int? pageSize,
  57. bool? readonly,
  58. bool? noNewRootComments,
  59. bool? requireSSO,
  60. bool? enableFChat,
  61. bool? enableResizeHandle,
  62. List<String>? restrictedLinkDomains = const [],
  63. bool? showBadgesInTopBar,
  64. bool? showCommentSaveSuccess,
  65. bool? showLiveRightAway,
  66. bool? showQuestion,
  67. List<SpamRule> spamRules = const [],
  68. SSOSecurityLevel? ssoSecLvl,
  69. Map<String, String>? translations,
  70. bool? useShowCommentsToggle,
  71. bool? useSingleLineCommentInput,
  72. VoteStyle? voteStyle,
  73. String? widgetQuestionId,
  74. CommentQuestionResultsRenderingType? widgetQuestionResultsStyle,
  75. bool? widgetQuestionShowBreakdown,
  76. QuestionRenderingType? widgetQuestionStyle,
  77. QuestionWhenSave? widgetQuestionWhenToSave,
  78. CommentQuestionsRequired? widgetQuestionsRequired,
  79. QuestionSubQuestionVisibility? widgetSubQuestionVisibility,
  80. bool? wrap,
  81. UsersListLocation? usersListLocation,
  82. bool? usersListIncludeOffline,
  83. String? ticketBaseUrl,
  84. String? ticketKBSearchEndpoint,
  85. bool? ticketFileUploadsEnabled,
  86. int? ticketMaxFileSize,
  87. List<String> ticketAutoAssignUserIds = const [],
  88. TOSConfig? tos,
})

Returns a new CustomConfigParameters instance.

Implementation

CustomConfigParameters({
  this.absoluteAndRelativeDates,
  this.absoluteDates,
  this.allowAnon,
  this.allowAnonFlag,
  this.allowAnonVotes,
  this.allowedLanguages = const [],
  this.collapseReplies,
  this.commentCountFormat,
  this.commentHTMLRenderingMode,
  this.commentThreadDeleteMode,
  this.commenterNameFormat,
  this.countAboveToggle,
  this.customCSS,
  this.defaultAvatarSrc,
  this.defaultSortDirection,
  this.defaultUsername,
  this.disableAutoAdminMigration,
  this.disableAutoHashTagCreation,
  this.disableBlocking,
  this.disableCommenterCommentDelete,
  this.disableCommenterCommentEdit,
  this.disableEmailInputs,
  this.disableLiveCommenting,
  this.disableNotificationBell,
  this.disableProfileComments,
  this.disableProfileDirectMessages,
  this.disableProfiles,
  this.disableSuccessMessage,
  this.disableToolbar,
  this.disableUnverifiedLabel,
  this.disableVoting,
  this.enableCommenterLinks,
  this.enableSearch,
  this.enableSpoilers,
  this.enableThirdPartyCookieBypass,
  this.enableViewCounts,
  this.enableVoteList,
  this.enableWYSIWYG,
  this.gifRating,
  this.hasDarkBackground,
  this.headerHTML,
  this.hideAvatars,
  this.hideCommentsUnderCountTextFormat,
  this.imageContentProfanityLevel,
  this.inputAfterComments,
  this.limitCommentsByGroups,
  this.locale,
  this.maxCommentCharacterLength,
  this.maxCommentCreatedCountPUPM,
  this.noCustomConfig,
  this.mentionAutoCompleteMode,
  this.noImageUploads,
  this.allowEmbeds,
  this.allowedEmbedDomains = const [],
  this.noStyles,
  this.pageSize,
  this.readonly,
  this.noNewRootComments,
  this.requireSSO,
  this.enableFChat,
  this.enableResizeHandle,
  this.restrictedLinkDomains = const [],
  this.showBadgesInTopBar,
  this.showCommentSaveSuccess,
  this.showLiveRightAway,
  this.showQuestion,
  this.spamRules = const [],
  this.ssoSecLvl,
  this.translations,
  this.useShowCommentsToggle,
  this.useSingleLineCommentInput,
  this.voteStyle,
  this.widgetQuestionId,
  this.widgetQuestionResultsStyle,
  this.widgetQuestionShowBreakdown,
  this.widgetQuestionStyle,
  this.widgetQuestionWhenToSave,
  this.widgetQuestionsRequired,
  this.widgetSubQuestionVisibility,
  this.wrap,
  this.usersListLocation,
  this.usersListIncludeOffline,
  this.ticketBaseUrl,
  this.ticketKBSearchEndpoint,
  this.ticketFileUploadsEnabled,
  this.ticketMaxFileSize,
  this.ticketAutoAssignUserIds = const [],
  this.tos,
});