copyWithWrapped method
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,
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),
);
}