copyWithWrapped method

WebApiModulesInventoryInventorySearchInventorySearchSaveNoteRequest copyWithWrapped({
  1. Wrapped<String?>? sessionId,
  2. Wrapped<String?>? quikSearchId,
  3. Wrapped<String?>? note,
  4. Wrapped<String?>? warehouseId,
  5. Wrapped<String?>? inventoryId,
  6. Wrapped<int?>? quantity,
  7. Wrapped<bool?>? printableNote,
})

Implementation

WebApiModulesInventoryInventorySearchInventorySearchSaveNoteRequest
copyWithWrapped({
  Wrapped<String?>? sessionId,
  Wrapped<String?>? quikSearchId,
  Wrapped<String?>? note,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? inventoryId,
  Wrapped<int?>? quantity,
  Wrapped<bool?>? printableNote,
}) {
  return WebApiModulesInventoryInventorySearchInventorySearchSaveNoteRequest(
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
    quikSearchId: (quikSearchId != null
        ? quikSearchId.value
        : this.quikSearchId),
    note: (note != null ? note.value : this.note),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    quantity: (quantity != null ? quantity.value : this.quantity),
    printableNote: (printableNote != null
        ? printableNote.value
        : this.printableNote),
  );
}