copyWith method

AccountIdentityMatchScore copyWith({
  1. NameMatchScore? legalName,
  2. PhoneNumberMatchScore? phoneNumber,
  3. EmailAddressMatchScore? emailAddress,
  4. AddressMatchScore? address,
  5. String? accountId,
  6. AccountBalance? balances,
  7. String? mask,
  8. String? name,
  9. String? officialName,
  10. AccountType? type,
  11. AccountSubtype? subtype,
  12. AccountIdentityMatchScoreVerificationStatus? verificationStatus,
})

Implementation

AccountIdentityMatchScore copyWith(
    {NameMatchScore? legalName,
    PhoneNumberMatchScore? phoneNumber,
    EmailAddressMatchScore? emailAddress,
    AddressMatchScore? address,
    String? accountId,
    AccountBalance? balances,
    String? mask,
    String? name,
    String? officialName,
    enums.AccountType? type,
    enums.AccountSubtype? subtype,
    enums.AccountIdentityMatchScoreVerificationStatus? verificationStatus}) {
  return AccountIdentityMatchScore(
      legalName: legalName ?? this.legalName,
      phoneNumber: phoneNumber ?? this.phoneNumber,
      emailAddress: emailAddress ?? this.emailAddress,
      address: address ?? this.address,
      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);
}