SubredditSettings class

A structure which represents the settings of a Subreddit.

Any Subreddit settings changed here will not be applied unless SubredditModeration.update is called with the updated SubredditSettings.

Constructors

SubredditSettings.copy(SubredditSettings original)

Properties

allowDiscovery bool
getter/setter pair
allowFreeformReports bool
getter/setter pair
allowImages bool
getter/setter pair
allowPostCrossposts bool
getter/setter pair
allowVideos bool
getter/setter pair
collapseDeletedComments bool
getter/setter pair
commentScoreHideMins int
getter/setter pair
contentOptions PostContentType
Which post types users can use.
no setter
defaultSet bool
getter/setter pair
description String?
getter/setter pair
excludeBannedModQueue bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerHoverText String
getter/setter pair
hideAds bool
getter/setter pair
language String
getter/setter pair
over18 bool
getter/setter pair
publicDescription String?
getter/setter pair
publicTraffic bool
Whether the traffic stats are visible publicly.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showMedia bool
getter/setter pair
showMediaPreview bool
getter/setter pair
spamComments SpamSensitivity
Filter strength for comments.
no setter
Returns the filter strength set for spam links for subreddit.
no setter
spamSelfposts SpamSensitivity
Filter strength for self posts.
no setter
spoilersEnabled bool
getter/setter pair
submitLinkLabel String?
Custom label for submit link button.
getter/setter pair
submitText String
getter/setter pair
submitTextLabel String?
Custom label for submit text post button.
getter/setter pair
subreddit SubredditRef
final
subredditType SubredditType
getter/setter pair
suggestedCommentSort SuggestedCommentSort?
The comment sorting method to choose by default.
no setter
title String
getter/setter pair
wikiEditAge int
Age required to edit wiki
getter/setter pair
wikiEditKarma int
Karma required to edit wiki.
getter/setter pair
wikimode WikiAccessMode
Returns who can access wiki mode.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited