copyWith method

ShopifySharpFulfillment copyWith({
  1. DateTime? createdAt,
  2. List<ShopifySharpLineItem>? lineItems,
  3. int? orderId,
  4. dynamic receipt,
  5. String? status,
  6. int? locationId,
  7. String? email,
  8. bool? notifyCustomer,
  9. ShopifySharpAddress? destination,
  10. String? trackingCompany,
  11. String? trackingNumber,
  12. List<String>? trackingNumbers,
  13. String? trackingUrl,
  14. List<String>? trackingUrls,
  15. DateTime? updatedAt,
  16. String? variantInventoryManagement,
  17. String? service,
  18. String? shipmentStatus,
  19. String? name,
  20. ShopifySharpFulfillmentOriginAddress? originAddress,
  21. int? id,
  22. String? adminGraphqlApiId,
})

Implementation

ShopifySharpFulfillment copyWith({
  DateTime? createdAt,
  List<ShopifySharpLineItem>? lineItems,
  int? orderId,
  dynamic receipt,
  String? status,
  int? locationId,
  String? email,
  bool? notifyCustomer,
  ShopifySharpAddress? destination,
  String? trackingCompany,
  String? trackingNumber,
  List<String>? trackingNumbers,
  String? trackingUrl,
  List<String>? trackingUrls,
  DateTime? updatedAt,
  String? variantInventoryManagement,
  String? service,
  String? shipmentStatus,
  String? name,
  ShopifySharpFulfillmentOriginAddress? originAddress,
  int? id,
  String? adminGraphqlApiId,
}) {
  return ShopifySharpFulfillment(
    createdAt: createdAt ?? this.createdAt,
    lineItems: lineItems ?? this.lineItems,
    orderId: orderId ?? this.orderId,
    receipt: receipt ?? this.receipt,
    status: status ?? this.status,
    locationId: locationId ?? this.locationId,
    email: email ?? this.email,
    notifyCustomer: notifyCustomer ?? this.notifyCustomer,
    destination: destination ?? this.destination,
    trackingCompany: trackingCompany ?? this.trackingCompany,
    trackingNumber: trackingNumber ?? this.trackingNumber,
    trackingNumbers: trackingNumbers ?? this.trackingNumbers,
    trackingUrl: trackingUrl ?? this.trackingUrl,
    trackingUrls: trackingUrls ?? this.trackingUrls,
    updatedAt: updatedAt ?? this.updatedAt,
    variantInventoryManagement:
        variantInventoryManagement ?? this.variantInventoryManagement,
    service: service ?? this.service,
    shipmentStatus: shipmentStatus ?? this.shipmentStatus,
    name: name ?? this.name,
    originAddress: originAddress ?? this.originAddress,
    id: id ?? this.id,
    adminGraphqlApiId: adminGraphqlApiId ?? this.adminGraphqlApiId,
  );
}