copyWith method

AccountAssets copyWith({
  1. double? daysAvailable,
  2. List<AssetReportTransaction>? transactions,
  3. List<Owner>? owners,
  4. List<HistoricalBalance>? historicalBalances,
})

Implementation

AccountAssets copyWith(
    {double? daysAvailable,
    List<AssetReportTransaction>? transactions,
    List<Owner>? owners,
    List<HistoricalBalance>? historicalBalances}) {
  return AccountAssets(
      daysAvailable: daysAvailable ?? this.daysAvailable,
      transactions: transactions ?? this.transactions,
      owners: owners ?? this.owners,
      historicalBalances: historicalBalances ?? this.historicalBalances);
}