onMessageUpdate method

void onMessageUpdate(
  1. Message newMessage, [
  2. Message? oldMessage
])

Implementation

void onMessageUpdate(Message newMessage, [Message? oldMessage]) async {
  for (var observer in List<ChatUIKitObserverBase>.of(observers)) {
    if (observer is ChatObserver) {
      observer.onMessageUpdate(newMessage, oldMessage);
    }
  }
}