copyWithWrapped method

WebApiModulesHomeDeliveryDelivery copyWithWrapped({
  1. Wrapped<String?>? deliveryId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? deliveryType,
  4. Wrapped<String?>? requiredDate,
  5. Wrapped<String?>? requiredTime,
  6. Wrapped<String?>? targetShipDate,
  7. Wrapped<String?>? targetShipTime,
  8. Wrapped<String?>? direction,
  9. Wrapped<String?>? addressType,
  10. Wrapped<String?>? fromLocation,
  11. Wrapped<String?>? fromContact,
  12. Wrapped<String?>? fromContactPhone,
  13. Wrapped<String?>? fromAlternateContact,
  14. Wrapped<String?>? fromAlternateContactPhone,
  15. Wrapped<String?>? fromAttention,
  16. Wrapped<String?>? fromAddress1,
  17. Wrapped<String?>? fromAddress2,
  18. Wrapped<String?>? fromCity,
  19. Wrapped<String?>? fromState,
  20. Wrapped<String?>? fromZipCode,
  21. Wrapped<String?>? fromCountry,
  22. Wrapped<String?>? fromCountryId,
  23. Wrapped<String?>? fromCrossStreets,
  24. Wrapped<String?>? toLocation,
  25. Wrapped<String?>? toContact,
  26. Wrapped<String?>? toContactPhone,
  27. Wrapped<String?>? toAlternateContact,
  28. Wrapped<String?>? toAlternateContactPhone,
  29. Wrapped<String?>? toAttention,
  30. Wrapped<String?>? toAddress1,
  31. Wrapped<String?>? toAddress2,
  32. Wrapped<String?>? toCity,
  33. Wrapped<String?>? toState,
  34. Wrapped<String?>? toZipCode,
  35. Wrapped<String?>? toCountryId,
  36. Wrapped<String?>? toCountry,
  37. Wrapped<String?>? toContactFax,
  38. Wrapped<String?>? toCrossStreets,
  39. Wrapped<String?>? deliveryNotes,
  40. Wrapped<String?>? carrierId,
  41. Wrapped<String?>? carrier,
  42. Wrapped<String?>? carrierAccount,
  43. Wrapped<String?>? shipViaId,
  44. Wrapped<String?>? shipVia,
  45. Wrapped<String?>? invoiceId,
  46. Wrapped<String?>? vendorInvoiceId,
  47. Wrapped<double?>? estimatedFreight,
  48. Wrapped<double?>? freightInvoiceAmount,
  49. Wrapped<String?>? chargeType,
  50. Wrapped<String?>? freightTrackingNumber,
  51. Wrapped<bool?>? dropShip,
  52. Wrapped<String?>? packageCode,
  53. Wrapped<bool?>? billPoFreightOnOrder,
  54. Wrapped<String?>? onlineOrderNumber,
  55. Wrapped<String?>? onlineOrderStatus,
  56. Wrapped<String?>? dateStamp,
  57. Wrapped<String?>? auditNote,
  58. Wrapped<String?>? recordTitle,
  59. Wrapped? urlIdentifier,
  60. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  61. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  62. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  63. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  64. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  65. Wrapped<bool?>? hasImport,
  66. Wrapped<bool?>? hasDocuments,
  67. Wrapped<String?>? createdByUserId,
  68. Wrapped<String?>? createdByUserName,
  69. Wrapped<String?>? createdDateTime,
  70. Wrapped<String?>? modifiedByUserId,
  71. Wrapped<String?>? modifiedByUserName,
  72. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesHomeDeliveryDelivery copyWithWrapped({
  Wrapped<String?>? deliveryId,
  Wrapped<String?>? orderId,
  Wrapped<String?>? deliveryType,
  Wrapped<String?>? requiredDate,
  Wrapped<String?>? requiredTime,
  Wrapped<String?>? targetShipDate,
  Wrapped<String?>? targetShipTime,
  Wrapped<String?>? direction,
  Wrapped<String?>? addressType,
  Wrapped<String?>? fromLocation,
  Wrapped<String?>? fromContact,
  Wrapped<String?>? fromContactPhone,
  Wrapped<String?>? fromAlternateContact,
  Wrapped<String?>? fromAlternateContactPhone,
  Wrapped<String?>? fromAttention,
  Wrapped<String?>? fromAddress1,
  Wrapped<String?>? fromAddress2,
  Wrapped<String?>? fromCity,
  Wrapped<String?>? fromState,
  Wrapped<String?>? fromZipCode,
  Wrapped<String?>? fromCountry,
  Wrapped<String?>? fromCountryId,
  Wrapped<String?>? fromCrossStreets,
  Wrapped<String?>? toLocation,
  Wrapped<String?>? toContact,
  Wrapped<String?>? toContactPhone,
  Wrapped<String?>? toAlternateContact,
  Wrapped<String?>? toAlternateContactPhone,
  Wrapped<String?>? toAttention,
  Wrapped<String?>? toAddress1,
  Wrapped<String?>? toAddress2,
  Wrapped<String?>? toCity,
  Wrapped<String?>? toState,
  Wrapped<String?>? toZipCode,
  Wrapped<String?>? toCountryId,
  Wrapped<String?>? toCountry,
  Wrapped<String?>? toContactFax,
  Wrapped<String?>? toCrossStreets,
  Wrapped<String?>? deliveryNotes,
  Wrapped<String?>? carrierId,
  Wrapped<String?>? carrier,
  Wrapped<String?>? carrierAccount,
  Wrapped<String?>? shipViaId,
  Wrapped<String?>? shipVia,
  Wrapped<String?>? invoiceId,
  Wrapped<String?>? vendorInvoiceId,
  Wrapped<double?>? estimatedFreight,
  Wrapped<double?>? freightInvoiceAmount,
  Wrapped<String?>? chargeType,
  Wrapped<String?>? freightTrackingNumber,
  Wrapped<bool?>? dropShip,
  Wrapped<String?>? packageCode,
  Wrapped<bool?>? billPoFreightOnOrder,
  Wrapped<String?>? onlineOrderNumber,
  Wrapped<String?>? onlineOrderStatus,
  Wrapped<String?>? dateStamp,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesHomeDeliveryDelivery(
    deliveryId: (deliveryId != null ? deliveryId.value : this.deliveryId),
    orderId: (orderId != null ? orderId.value : this.orderId),
    deliveryType: (deliveryType != null
        ? deliveryType.value
        : this.deliveryType),
    requiredDate: (requiredDate != null
        ? requiredDate.value
        : this.requiredDate),
    requiredTime: (requiredTime != null
        ? requiredTime.value
        : this.requiredTime),
    targetShipDate: (targetShipDate != null
        ? targetShipDate.value
        : this.targetShipDate),
    targetShipTime: (targetShipTime != null
        ? targetShipTime.value
        : this.targetShipTime),
    direction: (direction != null ? direction.value : this.direction),
    addressType: (addressType != null ? addressType.value : this.addressType),
    fromLocation: (fromLocation != null
        ? fromLocation.value
        : this.fromLocation),
    fromContact: (fromContact != null ? fromContact.value : this.fromContact),
    fromContactPhone: (fromContactPhone != null
        ? fromContactPhone.value
        : this.fromContactPhone),
    fromAlternateContact: (fromAlternateContact != null
        ? fromAlternateContact.value
        : this.fromAlternateContact),
    fromAlternateContactPhone: (fromAlternateContactPhone != null
        ? fromAlternateContactPhone.value
        : this.fromAlternateContactPhone),
    fromAttention: (fromAttention != null
        ? fromAttention.value
        : this.fromAttention),
    fromAddress1: (fromAddress1 != null
        ? fromAddress1.value
        : this.fromAddress1),
    fromAddress2: (fromAddress2 != null
        ? fromAddress2.value
        : this.fromAddress2),
    fromCity: (fromCity != null ? fromCity.value : this.fromCity),
    fromState: (fromState != null ? fromState.value : this.fromState),
    fromZipCode: (fromZipCode != null ? fromZipCode.value : this.fromZipCode),
    fromCountry: (fromCountry != null ? fromCountry.value : this.fromCountry),
    fromCountryId: (fromCountryId != null
        ? fromCountryId.value
        : this.fromCountryId),
    fromCrossStreets: (fromCrossStreets != null
        ? fromCrossStreets.value
        : this.fromCrossStreets),
    toLocation: (toLocation != null ? toLocation.value : this.toLocation),
    toContact: (toContact != null ? toContact.value : this.toContact),
    toContactPhone: (toContactPhone != null
        ? toContactPhone.value
        : this.toContactPhone),
    toAlternateContact: (toAlternateContact != null
        ? toAlternateContact.value
        : this.toAlternateContact),
    toAlternateContactPhone: (toAlternateContactPhone != null
        ? toAlternateContactPhone.value
        : this.toAlternateContactPhone),
    toAttention: (toAttention != null ? toAttention.value : this.toAttention),
    toAddress1: (toAddress1 != null ? toAddress1.value : this.toAddress1),
    toAddress2: (toAddress2 != null ? toAddress2.value : this.toAddress2),
    toCity: (toCity != null ? toCity.value : this.toCity),
    toState: (toState != null ? toState.value : this.toState),
    toZipCode: (toZipCode != null ? toZipCode.value : this.toZipCode),
    toCountryId: (toCountryId != null ? toCountryId.value : this.toCountryId),
    toCountry: (toCountry != null ? toCountry.value : this.toCountry),
    toContactFax: (toContactFax != null
        ? toContactFax.value
        : this.toContactFax),
    toCrossStreets: (toCrossStreets != null
        ? toCrossStreets.value
        : this.toCrossStreets),
    deliveryNotes: (deliveryNotes != null
        ? deliveryNotes.value
        : this.deliveryNotes),
    carrierId: (carrierId != null ? carrierId.value : this.carrierId),
    carrier: (carrier != null ? carrier.value : this.carrier),
    carrierAccount: (carrierAccount != null
        ? carrierAccount.value
        : this.carrierAccount),
    shipViaId: (shipViaId != null ? shipViaId.value : this.shipViaId),
    shipVia: (shipVia != null ? shipVia.value : this.shipVia),
    invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
    vendorInvoiceId: (vendorInvoiceId != null
        ? vendorInvoiceId.value
        : this.vendorInvoiceId),
    estimatedFreight: (estimatedFreight != null
        ? estimatedFreight.value
        : this.estimatedFreight),
    freightInvoiceAmount: (freightInvoiceAmount != null
        ? freightInvoiceAmount.value
        : this.freightInvoiceAmount),
    chargeType: (chargeType != null ? chargeType.value : this.chargeType),
    freightTrackingNumber: (freightTrackingNumber != null
        ? freightTrackingNumber.value
        : this.freightTrackingNumber),
    dropShip: (dropShip != null ? dropShip.value : this.dropShip),
    packageCode: (packageCode != null ? packageCode.value : this.packageCode),
    billPoFreightOnOrder: (billPoFreightOnOrder != null
        ? billPoFreightOnOrder.value
        : this.billPoFreightOnOrder),
    onlineOrderNumber: (onlineOrderNumber != null
        ? onlineOrderNumber.value
        : this.onlineOrderNumber),
    onlineOrderStatus: (onlineOrderStatus != null
        ? onlineOrderStatus.value
        : this.onlineOrderStatus),
    dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}