ChannelConfigWithInfo class

Constructors

ChannelConfigWithInfo({List<String> allowedFlagReasons = const [], required ChannelConfigWithInfoAutomodEnum automod, required ChannelConfigWithInfoAutomodBehaviorEnum automodBehavior, Thresholds? automodThresholds, String? blocklist, ChannelConfigWithInfoBlocklistBehaviorEnum? blocklistBehavior, List<BlockListOptions> blocklists = const [], List<Command> commands = const [], required bool connectEvents, required DateTime createdAt, required bool customEvents, Map<String, List<String>> grants = const {}, required bool markMessagesPending, required int maxMessageLength, required bool mutes, required String name, required bool polls, required bool pushNotifications, required bool quotes, required bool reactions, required bool readEvents, required bool reminders, required bool replies, required bool search, required bool typingEvents, required DateTime updatedAt, required bool uploads, required bool urlEnrichment})
Returns a new ChannelConfigWithInfo instance.

Properties

allowedFlagReasons List<String>
getter/setter pair
automod ChannelConfigWithInfoAutomodEnum
getter/setter pair
automodBehavior ChannelConfigWithInfoAutomodBehaviorEnum
getter/setter pair
automodThresholds Thresholds?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
blocklist String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
blocklistBehavior ChannelConfigWithInfoBlocklistBehaviorEnum?
getter/setter pair
blocklists List<BlockListOptions>
getter/setter pair
commands List<Command>
getter/setter pair
connectEvents bool
getter/setter pair
createdAt DateTime
getter/setter pair
customEvents bool
getter/setter pair
grants Map<String, List<String>>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
markMessagesPending bool
getter/setter pair
maxMessageLength int
Maximum value: 20000
getter/setter pair
mutes bool
getter/setter pair
name String
getter/setter pair
polls bool
getter/setter pair
pushNotifications bool
getter/setter pair
quotes bool
getter/setter pair
reactions bool
getter/setter pair
readEvents bool
getter/setter pair
reminders bool
getter/setter pair
replies bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
getter/setter pair
typingEvents bool
getter/setter pair
updatedAt DateTime
getter/setter pair
uploads bool
getter/setter pair
urlEnrichment bool
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) ChannelConfigWithInfo?
Returns a new ChannelConfigWithInfo instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<ChannelConfigWithInfo>
mapFromJson(dynamic json) Map<String, ChannelConfigWithInfo>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<ChannelConfigWithInfo>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.