copyWithWrapped method

WebApiModulesUtilitiesMigrateSelectAllNoneMigrateItemRequest copyWithWrapped({
  1. Wrapped<String>? sessionId,
  2. Wrapped<bool?>? selectAll,
  3. Wrapped<String?>? inventoryTypeId,
  4. Wrapped<String?>? categoryId,
  5. Wrapped<String?>? subCategoryId,
  6. Wrapped<String?>? warehouseId,
  7. Wrapped<String?>? inventoryId,
  8. Wrapped<String?>? vendorId,
  9. Wrapped<String?>? description,
  10. Wrapped<String?>? barCode,
})

Implementation

WebApiModulesUtilitiesMigrateSelectAllNoneMigrateItemRequest copyWithWrapped({
  Wrapped<String>? sessionId,
  Wrapped<bool?>? selectAll,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? categoryId,
  Wrapped<String?>? subCategoryId,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? vendorId,
  Wrapped<String?>? description,
  Wrapped<String?>? barCode,
}) {
  return WebApiModulesUtilitiesMigrateSelectAllNoneMigrateItemRequest(
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
    selectAll: (selectAll != null ? selectAll.value : this.selectAll),
    inventoryTypeId: (inventoryTypeId != null
        ? inventoryTypeId.value
        : this.inventoryTypeId),
    categoryId: (categoryId != null ? categoryId.value : this.categoryId),
    subCategoryId: (subCategoryId != null
        ? subCategoryId.value
        : this.subCategoryId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    vendorId: (vendorId != null ? vendorId.value : this.vendorId),
    description: (description != null ? description.value : this.description),
    barCode: (barCode != null ? barCode.value : this.barCode),
  );
}