copyWith method

UpdateChatPhoto copyWith({
  1. int? chatId,
  2. ChatPhotoInfo? photo,
})

Implementation

UpdateChatPhoto copyWith({int? chatId, ChatPhotoInfo? photo}) =>
    UpdateChatPhoto(
      chatId: chatId ?? this.chatId,
      photo: photo ?? this.photo,
    );