buyIn property

  1. @override
BuyIn get buyIn
override

Implementation

@override
BuyIn get buyIn {
  if (_buyInPayment != null) return _buyInPayment!;
  var amount = 0;
  for (var boughtItem in itemBought) {
    amount += boughtItem.amount.money;
  }
  return _buyInPayment = BuyIn(sellerID, amount, true);
}