Transactions constructor

Transactions({
  1. required String symbol,
  2. required double amount,
  3. required int? buyDate,
  4. required TradeDirection tradeDirection,
})

Constructor to create a new Transactions object.

Implementation

Transactions(
    {required this.symbol,
    required this.amount,
    required this.buyDate,
    required this.tradeDirection});