ChannelManager class final

Constructors

ChannelManager(Map<Snowflake, ServerChannel> _channels, Map<String, dynamic> json)
ChannelManager.fromList(List<ServerChannel> channels, dynamic payload)
factory

Properties

afkChannel ServerVoiceChannel?
no setter
hashCode int
The hash code for this object.
no setterinherited
list Map<Snowflake, ServerChannel>
no setter
publicUpdatesChannel ServerTextChannel?
no setter
rulesChannel ServerTextChannel?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyAlertsChannel ServerTextChannel?
no setter
systemChannel ServerTextChannel?
no setter
widgetChannel ServerTextChannel?
no setter

Methods

getOrFail<T extends ServerChannel>(String id) → T
getOrNull<T extends ServerChannel>(Snowflake? id) → T?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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