copyWith method

WebApiModulesInventoryInventoryInventoryWarehouseSpecificPackageRequest copyWith({
  1. String? inventoryId,
  2. String? warehouseId,
  3. bool? isWarehouseSpecific,
})

Implementation

WebApiModulesInventoryInventoryInventoryWarehouseSpecificPackageRequest
copyWith({
  String? inventoryId,
  String? warehouseId,
  bool? isWarehouseSpecific,
}) {
  return WebApiModulesInventoryInventoryInventoryWarehouseSpecificPackageRequest(
    inventoryId: inventoryId ?? this.inventoryId,
    warehouseId: warehouseId ?? this.warehouseId,
    isWarehouseSpecific: isWarehouseSpecific ?? this.isWarehouseSpecific,
  );
}