parseDirectoryChannel method
Implementation
DirectoryChannel parseDirectoryChannel(Map<String, Object?> raw, {Snowflake? guildId}) {
assert(raw['type'] == ChannelType.guildDirectory.value, 'Invalid type for DirectoryChannel');
return DirectoryChannel(
id: Snowflake.parse(raw['id']!),
manager: this,
);
}