getChannelFromId method
- String id
Gets channel from ID.
Implementation
Future<Channel> getChannelFromId(String id) async {
Channel? channel = _channelCache[id];
if (channel != null) {
return channel;
}
channel = await computeChannel(id);
_channelCache[id] = channel;
return channel;
}