notifyChannelThreadUpdated method Null safety

void notifyChannelThreadUpdated(
  1. GroupChannel channel,
  2. ThreadInfoUpdateEvent event
)

Implementation

void notifyChannelThreadUpdated(
    GroupChannel channel, ThreadInfoUpdateEvent event) {
  _channelHandlers.values.forEach((element) {
    element.onThreadInfoUpdated(channel, event);
  });
}