copyWith method
Implementation
@override
ChatEventPhotoChanged copyWith({
ChatPhoto? oldPhoto,
ChatPhoto? newPhoto,
}) => ChatEventPhotoChanged(
oldPhoto: oldPhoto ?? this.oldPhoto,
newPhoto: newPhoto ?? this.newPhoto,
);
@override
ChatEventPhotoChanged copyWith({
ChatPhoto? oldPhoto,
ChatPhoto? newPhoto,
}) => ChatEventPhotoChanged(
oldPhoto: oldPhoto ?? this.oldPhoto,
newPhoto: newPhoto ?? this.newPhoto,
);