operator == method
override the '==' operator
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is ChatMessage &&
other.text == text &&
other.imageUrl == imageUrl &&
other.imagePath == imagePath &&
other.audioUrl == audioUrl &&
other.audioPath == audioPath &&
other.isSender == isSender &&
other.createdAt == createdAt;
}