copyWith method

BankVerificationRequestMessage copyWith({
  1. String? bankNumber,
  2. String? bankAgency,
  3. String? accountType,
  4. String? bankAccountNumber,
  5. bool? automaticValidation,
})

Implementation

BankVerificationRequestMessage copyWith({
  String? bankNumber,
  String? bankAgency,
  String? accountType,
  String? bankAccountNumber,
  bool? automaticValidation,
}) {
  return BankVerificationRequestMessage(
    bankNumber: bankNumber ?? this.bankNumber,
    bankAgency: bankAgency ?? this.bankAgency,
    accountType: accountType ?? this.accountType,
    bankAccountNumber: bankAccountNumber ?? this.bankAccountNumber,
    automaticValidation: automaticValidation ?? this.automaticValidation,
  );
}