Holding constructor

const Holding({
  1. required String assetId,
  2. required String symbol,
  3. required String name,
  4. required AssetClass assetClass,
  5. required Decimal quantity,
  6. required Money currentValue,
  7. required Money gainLoss,
  8. required double gainLossPercent,
  9. String? logoUrl,
})

Implementation

const Holding({
  required this.assetId,
  required this.symbol,
  required this.name,
  required this.assetClass,
  required this.quantity,
  required this.currentValue,
  required this.gainLoss,
  required this.gainLossPercent,
  this.logoUrl,
});