copyWith method

BusinessRecipients copyWith({
  1. List<int>? chatIds,
  2. List<int>? excludedChatIds,
  3. bool? selectExistingChats,
  4. bool? selectNewChats,
  5. bool? selectContacts,
  6. bool? selectNonContacts,
  7. bool? excludeSelected,
})

Implementation

BusinessRecipients copyWith({
  List<int>? chatIds,
  List<int>? excludedChatIds,
  bool? selectExistingChats,
  bool? selectNewChats,
  bool? selectContacts,
  bool? selectNonContacts,
  bool? excludeSelected,
}) => BusinessRecipients(
  chatIds: chatIds ?? this.chatIds,
  excludedChatIds: excludedChatIds ?? this.excludedChatIds,
  selectExistingChats: selectExistingChats ?? this.selectExistingChats,
  selectNewChats: selectNewChats ?? this.selectNewChats,
  selectContacts: selectContacts ?? this.selectContacts,
  selectNonContacts: selectNonContacts ?? this.selectNonContacts,
  excludeSelected: excludeSelected ?? this.excludeSelected,
);