copyWith method

  1. @override
ChatEventPhotoChanged copyWith({
  1. ChatPhoto? oldPhoto,
  2. ChatPhoto? newPhoto,
})
override

Implementation

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