copyWithWrapped method

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

Implementation

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