placeOrder method

Order placeOrder()

Implementation

Order placeOrder() {
  final stock = selectedStock.value!;
  final total = quantity.value * stock.price;
  return Order(
    isin: stock.isin,
    quantity: quantity.value,
    totalAmount: total,
  );
}