copyWithWrapped method

WebApiModulesInventoryInventoryConsignorInventoryConsignor copyWithWrapped({
  1. Wrapped<String?>? consignorId,
  2. Wrapped<String?>? consignorAgreementId,
  3. Wrapped<String?>? consignor,
  4. Wrapped<String?>? agreementNumber,
  5. Wrapped<String?>? agreementDescription,
  6. Wrapped<String?>? inventoryId,
  7. Wrapped<String?>? iCode,
  8. Wrapped<String?>? description,
  9. Wrapped<String?>? trackedBy,
  10. Wrapped<bool?>? treatConsignedQtyAsOwned,
  11. Wrapped<int?>? qtyConsigned,
  12. Wrapped<int?>? consignorPercent,
  13. Wrapped<int?>? housePercent,
  14. Wrapped<bool?>? flatRate,
  15. Wrapped<double?>? flatRateAmount,
  16. Wrapped<String?>? itemId,
  17. Wrapped<String?>? barCode,
  18. Wrapped<String?>? serialNumber,
  19. Wrapped<String?>? inventoryStatusId,
  20. Wrapped<String?>? inventoryStatus,
  21. Wrapped<String?>? inventoryStatusType,
  22. Wrapped<String?>? warehouseId,
  23. Wrapped<String?>? warehouse,
  24. Wrapped<String?>? warehouseCode,
  25. Wrapped<String?>? textColor,
  26. Wrapped<String?>? color,
  27. Wrapped<String?>? auditNote,
  28. Wrapped<String?>? recordTitle,
  29. Wrapped? urlIdentifier,
  30. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  31. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  32. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  33. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  34. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  35. Wrapped<bool?>? hasImport,
  36. Wrapped<bool?>? hasDocuments,
  37. Wrapped<String?>? createdByUserId,
  38. Wrapped<String?>? createdByUserName,
  39. Wrapped<String?>? createdDateTime,
  40. Wrapped<String?>? modifiedByUserId,
  41. Wrapped<String?>? modifiedByUserName,
  42. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesInventoryInventoryConsignorInventoryConsignor copyWithWrapped({
  Wrapped<String?>? consignorId,
  Wrapped<String?>? consignorAgreementId,
  Wrapped<String?>? consignor,
  Wrapped<String?>? agreementNumber,
  Wrapped<String?>? agreementDescription,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? iCode,
  Wrapped<String?>? description,
  Wrapped<String?>? trackedBy,
  Wrapped<bool?>? treatConsignedQtyAsOwned,
  Wrapped<int?>? qtyConsigned,
  Wrapped<int?>? consignorPercent,
  Wrapped<int?>? housePercent,
  Wrapped<bool?>? flatRate,
  Wrapped<double?>? flatRateAmount,
  Wrapped<String?>? itemId,
  Wrapped<String?>? barCode,
  Wrapped<String?>? serialNumber,
  Wrapped<String?>? inventoryStatusId,
  Wrapped<String?>? inventoryStatus,
  Wrapped<String?>? inventoryStatusType,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouse,
  Wrapped<String?>? warehouseCode,
  Wrapped<String?>? textColor,
  Wrapped<String?>? color,
  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 WebApiModulesInventoryInventoryConsignorInventoryConsignor(
    consignorId: (consignorId != null ? consignorId.value : this.consignorId),
    consignorAgreementId: (consignorAgreementId != null
        ? consignorAgreementId.value
        : this.consignorAgreementId),
    consignor: (consignor != null ? consignor.value : this.consignor),
    agreementNumber: (agreementNumber != null
        ? agreementNumber.value
        : this.agreementNumber),
    agreementDescription: (agreementDescription != null
        ? agreementDescription.value
        : this.agreementDescription),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    iCode: (iCode != null ? iCode.value : this.iCode),
    description: (description != null ? description.value : this.description),
    trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
    treatConsignedQtyAsOwned: (treatConsignedQtyAsOwned != null
        ? treatConsignedQtyAsOwned.value
        : this.treatConsignedQtyAsOwned),
    qtyConsigned: (qtyConsigned != null
        ? qtyConsigned.value
        : this.qtyConsigned),
    consignorPercent: (consignorPercent != null
        ? consignorPercent.value
        : this.consignorPercent),
    housePercent: (housePercent != null
        ? housePercent.value
        : this.housePercent),
    flatRate: (flatRate != null ? flatRate.value : this.flatRate),
    flatRateAmount: (flatRateAmount != null
        ? flatRateAmount.value
        : this.flatRateAmount),
    itemId: (itemId != null ? itemId.value : this.itemId),
    barCode: (barCode != null ? barCode.value : this.barCode),
    serialNumber: (serialNumber != null
        ? serialNumber.value
        : this.serialNumber),
    inventoryStatusId: (inventoryStatusId != null
        ? inventoryStatusId.value
        : this.inventoryStatusId),
    inventoryStatus: (inventoryStatus != null
        ? inventoryStatus.value
        : this.inventoryStatus),
    inventoryStatusType: (inventoryStatusType != null
        ? inventoryStatusType.value
        : this.inventoryStatusType),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    warehouseCode: (warehouseCode != null
        ? warehouseCode.value
        : this.warehouseCode),
    textColor: (textColor != null ? textColor.value : this.textColor),
    color: (color != null ? color.value : this.color),
    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),
  );
}