copyWith method

SuggestUserProfilePhoto copyWith({
  1. int? userId,
  2. InputChatPhoto? photo,
})

Implementation

SuggestUserProfilePhoto copyWith({int? userId, InputChatPhoto? photo}) =>
    SuggestUserProfilePhoto(
      userId: userId ?? this.userId,
      photo: photo ?? this.photo,
    );