isSameMessage method
Implementation
bool isSameMessage(NIMMessage? other) {
if (other != null) {
if (messageId != null &&
messageId != '-1' &&
other.messageId != null &&
other.messageId != '-1') {
return messageId == other.messageId;
} else {
return uuid == other.uuid;
}
}
return false;
}