copyWith method

AccountAssets copyWith({
  1. double? daysAvailable,
  2. List<AssetReportTransaction>? transactions,
  3. List<Owner>? owners,
  4. OwnershipType? ownershipType,
  5. List<HistoricalBalance>? historicalBalances,
  6. String? accountId,
  7. AccountBalance? balances,
  8. String? mask,
  9. String? name,
  10. String? officialName,
  11. AccountType? type,
  12. AccountSubtype? subtype,
  13. 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);
}