onMessageContentChanged method
void
onMessageContentChanged()
override
Implementation
@override
void onMessageContentChanged(
Message message,
String operatorId,
int operationTime,
) {
final index = msgModelList
.indexWhere((element) => element.message.msgId == message.msgId);
if (index != -1) {
msgModelList[index] = msgModelList[index].copyWith(message: message);
refresh();
}
}