copyWith method
AccountBase
copyWith({
- String? accountId,
- AccountBalance? balances,
- String? mask,
- String? name,
- String? officialName,
- AccountType? type,
- AccountSubtype? subtype,
- AccountBaseVerificationStatus? verificationStatus,
Implementation
AccountBase copyWith(
{String? accountId,
AccountBalance? balances,
String? mask,
String? name,
String? officialName,
enums.AccountType? type,
enums.AccountSubtype? subtype,
enums.AccountBaseVerificationStatus? verificationStatus}) {
return AccountBase(
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);
}