copyWith method
Implementation
UpdateNewPreCheckoutQuery copyWith({
int? id,
int? senderUserId,
String? currency,
int? totalAmount,
String? invoicePayload,
String? shippingOptionId,
OrderInfo? orderInfo,
}) => UpdateNewPreCheckoutQuery(
id: id ?? this.id,
senderUserId: senderUserId ?? this.senderUserId,
currency: currency ?? this.currency,
totalAmount: totalAmount ?? this.totalAmount,
invoicePayload: invoicePayload ?? this.invoicePayload,
shippingOptionId: shippingOptionId ?? this.shippingOptionId,
orderInfo: orderInfo ?? this.orderInfo,
);