copyWith method
UpdateNewWidgetQuery
copyWith({
- int? id,
- int? senderUserId,
- int? chatId,
- int? messageId,
- int? chatInstance,
- String? chatType,
- WidgetQueryType? queryType,
- String? data,
- int? widgetId,
- TonWalletCard? walletCard,
Implementation
UpdateNewWidgetQuery copyWith({
int? id,
int? senderUserId,
int? chatId,
int? messageId,
int? chatInstance,
String? chatType,
WidgetQueryType? queryType,
String? data,
int? widgetId,
TonWalletCard? walletCard,
}) =>
UpdateNewWidgetQuery(
id: id ?? this.id,
senderUserId: senderUserId ?? this.senderUserId,
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
chatInstance: chatInstance ?? this.chatInstance,
chatType: chatType ?? this.chatType,
queryType: queryType ?? this.queryType,
data: data ?? this.data,
widgetId: widgetId ?? this.widgetId,
walletCard: walletCard ?? this.walletCard,
);