copyWith method
Implementation
@override
ChatEventMessageEdited copyWith({
Message? oldMessage,
Message? newMessage,
}) => ChatEventMessageEdited(
oldMessage: oldMessage ?? this.oldMessage,
newMessage: newMessage ?? this.newMessage,
);
@override
ChatEventMessageEdited copyWith({
Message? oldMessage,
Message? newMessage,
}) => ChatEventMessageEdited(
oldMessage: oldMessage ?? this.oldMessage,
newMessage: newMessage ?? this.newMessage,
);