copyWith method

WebApiModulesHomeControlsInventoryAvailabilityAvailabilityConflictRequest copyWith({
  1. DateTime? toDate,
  2. String? availableFor,
  3. String? conflictType,
  4. String? warehouseId,
  5. String? inventoryTypeId,
  6. String? categoryId,
  7. String? subCategoryId,
  8. String? inventoryId,
  9. String? description,
  10. String? orderId,
  11. String? dealId,
  12. List<FwStandardModelsSelectedCheckBoxListItem>? ranks,
  13. bool? showRegionAvailability,
  14. bool? showOtherWarehouseAvailability,
  15. String? otherWarehouseIds,
})

Implementation

WebApiModulesHomeControlsInventoryAvailabilityAvailabilityConflictRequest
    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 WebApiModulesHomeControlsInventoryAvailabilityAvailabilityConflictRequest(
      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);
}