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