copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
UpdateBusinessMessagesDeleted copyWith({
String? connectionId,
int? chatId,
List<int>? messageIds,
dynamic extra,
int? clientId,
}) => UpdateBusinessMessagesDeleted(
connectionId: connectionId ?? this.connectionId,
chatId: chatId ?? this.chatId,
messageIds: messageIds ?? this.messageIds,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);