ChannelMention class
Channel mention structure
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- ChannelMention({required String id, required String guildId, required ChannelType type, required String name})
- Constructor
-
ChannelMention.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- guildId → String
-
id of the guild containing the channel
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
id of the channel
final
- name → String
-
the name of the channel
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ChannelType
-
the type of channel
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited