Transactions constructor
Transactions({
- required String symbol,
- required double amount,
- required int? buyDate,
- required TradeDirection tradeDirection,
Constructor to create a new Transactions object.
Implementation
Transactions(
{required this.symbol,
required this.amount,
required this.buyDate,
required this.tradeDirection});