copyWith method
WebApiModulesHomeControlsInventorySearchInventorySearchRequest
copyWith({
- String? sessionId,
- String? orderId,
- String? availableFor,
- String? warehouseId,
- String? languageId,
- String? currencyId,
- String? inventoryTypeId,
- String? categoryId,
- String? subCategoryId,
- String? classification,
- String? searchText,
- String? attributeId,
- String? attributeValueId,
- String? attributeValueRange,
- bool? showAvailability,
- DateTime? fromDate,
- String? fromTime,
- DateTime? toDate,
- String? toTime,
- bool? showImages,
- bool? hideInventoryWithZeroQuantity,
- String? sortBy,
- List<
FwStandardModelsCheckBoxListItem> ? excelFields,
Implementation
WebApiModulesHomeControlsInventorySearchInventorySearchRequest copyWith(
{String? sessionId,
String? orderId,
String? availableFor,
String? warehouseId,
String? languageId,
String? currencyId,
String? inventoryTypeId,
String? categoryId,
String? subCategoryId,
String? classification,
String? searchText,
String? attributeId,
String? attributeValueId,
String? attributeValueRange,
bool? showAvailability,
DateTime? fromDate,
String? fromTime,
DateTime? toDate,
String? toTime,
bool? showImages,
bool? hideInventoryWithZeroQuantity,
String? sortBy,
List<FwStandardModelsCheckBoxListItem>? excelFields}) {
return WebApiModulesHomeControlsInventorySearchInventorySearchRequest(
sessionId: sessionId ?? this.sessionId,
orderId: orderId ?? this.orderId,
availableFor: availableFor ?? this.availableFor,
warehouseId: warehouseId ?? this.warehouseId,
languageId: languageId ?? this.languageId,
currencyId: currencyId ?? this.currencyId,
inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
categoryId: categoryId ?? this.categoryId,
subCategoryId: subCategoryId ?? this.subCategoryId,
classification: classification ?? this.classification,
searchText: searchText ?? this.searchText,
attributeId: attributeId ?? this.attributeId,
attributeValueId: attributeValueId ?? this.attributeValueId,
attributeValueRange: attributeValueRange ?? this.attributeValueRange,
showAvailability: showAvailability ?? this.showAvailability,
fromDate: fromDate ?? this.fromDate,
fromTime: fromTime ?? this.fromTime,
toDate: toDate ?? this.toDate,
toTime: toTime ?? this.toTime,
showImages: showImages ?? this.showImages,
hideInventoryWithZeroQuantity:
hideInventoryWithZeroQuantity ?? this.hideInventoryWithZeroQuantity,
sortBy: sortBy ?? this.sortBy,
excelFields: excelFields ?? this.excelFields);
}