copyWith method
AccountAssets
copyWith({
- double? daysAvailable,
- List<
AssetReportTransaction> ? transactions, - List<
Owner> ? owners, - 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);
}