copyWith method

NewChatPrivacySettings copyWith({
  1. bool? allowNewChatsFromUnknownUsers,
  2. int? incomingPaidMessageStarCount,
})

Implementation

NewChatPrivacySettings copyWith({
  bool? allowNewChatsFromUnknownUsers,
  int? incomingPaidMessageStarCount,
}) => NewChatPrivacySettings(
  allowNewChatsFromUnknownUsers:
      allowNewChatsFromUnknownUsers ?? this.allowNewChatsFromUnknownUsers,
  incomingPaidMessageStarCount:
      incomingPaidMessageStarCount ?? this.incomingPaidMessageStarCount,
);