copyWith method

  1. @override
UpdateAddChatMembersPrivacyForbidden copyWith({
  1. int? chatId,
  2. List<int>? userIds,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateAddChatMembersPrivacyForbidden copyWith({
  int? chatId,
  List<int>? userIds,
  dynamic extra,
  int? clientId,
}) =>
    UpdateAddChatMembersPrivacyForbidden(
      chatId: chatId ?? this.chatId,
      userIds: userIds ?? this.userIds,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );