copyWith method

WebApiModulesWarehouseCheckOutDecreaseOrderQuantityRequest copyWith({
  1. String? orderId,
  2. String? orderItemId,
  3. String? inventoryId,
  4. String? warehouseId,
  5. int? quantity,
})

Implementation

WebApiModulesWarehouseCheckOutDecreaseOrderQuantityRequest copyWith({
  String? orderId,
  String? orderItemId,
  String? inventoryId,
  String? warehouseId,
  int? quantity,
}) {
  return WebApiModulesWarehouseCheckOutDecreaseOrderQuantityRequest(
    orderId: orderId ?? this.orderId,
    orderItemId: orderItemId ?? this.orderItemId,
    inventoryId: inventoryId ?? this.inventoryId,
    warehouseId: warehouseId ?? this.warehouseId,
    quantity: quantity ?? this.quantity,
  );
}