fetchChannels method

Future<List<GuildChannel>> fetchChannels()

Fetch the channels in this category.

Implementation

Future<List<GuildChannel>> fetchChannels() async {
  final guildChannels = await guild.fetchChannels();

  return guildChannels.where((element) => element.parentId == id).toList();
}