cachedChannels property

List<GuildChannel> get cachedChannels

Return a list of channels in the client's cache that are in this category.

Implementation

List<GuildChannel> get cachedChannels => guild.cachedChannels
    .where((element) => (element as GuildChannel).parentId == id)
    .toList();