copyWith method
WebApiServicesAvailabilityServiceAvailabilityConflictRequest
copyWith({
- DateTime? toDate,
- String? availableFor,
- String? conflictType,
- String? warehouseId,
- String? inventoryTypeId,
- String? categoryId,
- String? subCategoryId,
- String? inventoryId,
- String? description,
- String? orderId,
- String? dealId,
- List<
FwStandardModelsSelectedCheckBoxListItem> ? ranks, - bool? showRegionAvailability,
- bool? showOtherWarehouseAvailability,
- String? otherWarehouseIds,
Implementation
WebApiServicesAvailabilityServiceAvailabilityConflictRequest copyWith(
{DateTime? toDate,
String? availableFor,
String? conflictType,
String? warehouseId,
String? inventoryTypeId,
String? categoryId,
String? subCategoryId,
String? inventoryId,
String? description,
String? orderId,
String? dealId,
List<FwStandardModelsSelectedCheckBoxListItem>? ranks,
bool? showRegionAvailability,
bool? showOtherWarehouseAvailability,
String? otherWarehouseIds}) {
return WebApiServicesAvailabilityServiceAvailabilityConflictRequest(
toDate: toDate ?? this.toDate,
availableFor: availableFor ?? this.availableFor,
conflictType: conflictType ?? this.conflictType,
warehouseId: warehouseId ?? this.warehouseId,
inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
categoryId: categoryId ?? this.categoryId,
subCategoryId: subCategoryId ?? this.subCategoryId,
inventoryId: inventoryId ?? this.inventoryId,
description: description ?? this.description,
orderId: orderId ?? this.orderId,
dealId: dealId ?? this.dealId,
ranks: ranks ?? this.ranks,
showRegionAvailability:
showRegionAvailability ?? this.showRegionAvailability,
showOtherWarehouseAvailability: showOtherWarehouseAvailability ??
this.showOtherWarehouseAvailability,
otherWarehouseIds: otherWarehouseIds ?? this.otherWarehouseIds);
}