copyWith method
Implementation
@override
ChatEventUsernameChanged copyWith({
String? oldUsername,
String? newUsername,
}) =>
ChatEventUsernameChanged(
oldUsername: oldUsername ?? this.oldUsername,
newUsername: newUsername ?? this.newUsername,
);