copyWith method

AddChatMembers copyWith({
  1. int? chatId,
  2. List<int>? userIds,
})

Implementation

AddChatMembers copyWith({int? chatId, List<int>? userIds}) => AddChatMembers(
  chatId: chatId ?? this.chatId,
  userIds: userIds ?? this.userIds,
);