copyWith method

UpdateNewShippingQuery copyWith({
  1. int? id,
  2. int? senderUserId,
  3. String? invoicePayload,
  4. Address? shippingAddress,
})

Implementation

UpdateNewShippingQuery copyWith({
  int? id,
  int? senderUserId,
  String? invoicePayload,
  Address? shippingAddress,
}) => UpdateNewShippingQuery(
  id: id ?? this.id,
  senderUserId: senderUserId ?? this.senderUserId,
  invoicePayload: invoicePayload ?? this.invoicePayload,
  shippingAddress: shippingAddress ?? this.shippingAddress,
);