notifyMessageUpdate method Null safety

void notifyMessageUpdate(
  1. BaseChannel channel,
  2. BaseMessage message
)

Implementation

void notifyMessageUpdate(BaseChannel channel, BaseMessage message) {
  sdk.streamManager.msgUpdated
      .add(ChannelMessageResponse(channel, message: message));

  _channelHandlers.values.forEach((element) {
    element.onMessageUpdated(channel, message);
  });
}