copyWith method
UpdateNewPreCheckoutQuery
copyWith({
- int? id,
- int? senderUserId,
- String? currency,
- int? totalAmount,
- String? invoicePayload,
- String? shippingOptionId,
- OrderInfo? orderInfo,
- dynamic extra,
- int? clientId,
override
Implementation
@override
UpdateNewPreCheckoutQuery copyWith({
int? id,
int? senderUserId,
String? currency,
int? totalAmount,
String? invoicePayload,
String? shippingOptionId,
OrderInfo? orderInfo,
dynamic extra,
int? clientId,
}) =>
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,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);