copyWith method
AccountAssets
copyWith({
- double? daysAvailable,
- List<
AssetReportTransaction> ? transactions, - List<
Owner> ? owners, - OwnershipType? ownershipType,
- List<
HistoricalBalance> ? historicalBalances, - String? accountId,
- AccountBalance? balances,
- String? mask,
- String? name,
- String? officialName,
- AccountType? type,
- AccountSubtype? subtype,
- AccountAssetsVerificationStatus? verificationStatus,
Implementation
AccountAssets copyWith(
{double? daysAvailable,
List<AssetReportTransaction>? transactions,
List<Owner>? owners,
enums.OwnershipType? ownershipType,
List<HistoricalBalance>? historicalBalances,
String? accountId,
AccountBalance? balances,
String? mask,
String? name,
String? officialName,
enums.AccountType? type,
enums.AccountSubtype? subtype,
enums.AccountAssetsVerificationStatus? verificationStatus}) {
return AccountAssets(
daysAvailable: daysAvailable ?? this.daysAvailable,
transactions: transactions ?? this.transactions,
owners: owners ?? this.owners,
ownershipType: ownershipType ?? this.ownershipType,
historicalBalances: historicalBalances ?? this.historicalBalances,
accountId: accountId ?? this.accountId,
balances: balances ?? this.balances,
mask: mask ?? this.mask,
name: name ?? this.name,
officialName: officialName ?? this.officialName,
type: type ?? this.type,
subtype: subtype ?? this.subtype,
verificationStatus: verificationStatus ?? this.verificationStatus);
}