copyWith method
AccountIdentity
copyWith({
- List<
Owner> ? owners, - String? accountId,
- AccountBalance? balances,
- String? mask,
- String? name,
- String? officialName,
- AccountType? type,
- AccountSubtype? subtype,
- AccountIdentityVerificationStatus? verificationStatus,
Implementation
AccountIdentity copyWith(
{List<Owner>? owners,
String? accountId,
AccountBalance? balances,
String? mask,
String? name,
String? officialName,
enums.AccountType? type,
enums.AccountSubtype? subtype,
enums.AccountIdentityVerificationStatus? verificationStatus}) {
return AccountIdentity(
owners: owners ?? this.owners,
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);
}