copyWith method

  1. @override
UpdateNewShippingQuery copyWith({
  1. int? id,
  2. int? senderUserId,
  3. String? invoicePayload,
  4. Address? shippingAddress,
  5. dynamic extra,
  6. int? clientId,
})
override

Implementation

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