ChannelManager constructor

ChannelManager(
  1. CacheConfig<Channel> config,
  2. NyxxRest client,
  3. {required CacheConfig<StageInstance> stageInstanceConfig}
)

Create a new ChannelManager.

Implementation

ChannelManager(super.config, super.client, {required CacheConfig<StageInstance> stageInstanceConfig})
    : stageInstanceCache = Cache(client, 'channels.stageInstances', stageInstanceConfig),
      super(identifier: 'channels');