onChannelTruncated method
Function which gets called for the event EventType.channelTruncated.
This event is fired when a channel is truncated.
By default, this refreshes the whole channel list.
Implementation
void onChannelTruncated(Event event, StreamChannelListController controller) {
controller.refresh();
}