copyWith method

BankTransferUser copyWith({
  1. String? legalName,
  2. String? emailAddress,
  3. String? routingNumber,
})

Implementation

BankTransferUser copyWith(
    {String? legalName, String? emailAddress, String? routingNumber}) {
  return BankTransferUser(
      legalName: legalName ?? this.legalName,
      emailAddress: emailAddress ?? this.emailAddress,
      routingNumber: routingNumber ?? this.routingNumber);
}