copyWith method
Implementation
WebApiModulesWarehouseCheckOutAddMiscItemRequest copyWith({
String? orderId,
String? warehouseId,
String? inventoryId,
int? quantity,
String? description,
}) {
return WebApiModulesWarehouseCheckOutAddMiscItemRequest(
orderId: orderId ?? this.orderId,
warehouseId: warehouseId ?? this.warehouseId,
inventoryId: inventoryId ?? this.inventoryId,
quantity: quantity ?? this.quantity,
description: description ?? this.description,
);
}