totalPrice property

double get totalPrice

Sum of prices for all selected seats.

Price is resolved from _prices first; falls back to zero if not set.

Implementation

double get totalPrice {
  double total = 0;
  for (final point in _selectedSeats) {
    final meta = _grid[point.row][point.col];
    total += _prices[meta.type] ?? 0.0;
  }
  return total;
}