AccountData constructor

AccountData({
  1. required String firstName,
  2. required String lastName,
  3. required String routingNumber,
  4. required String last4,
})

Creates a new instance of AccountData.

  • firstName: The first name of the account holder.
  • lastName: The last name of the account holder.
  • routingNumber: The bank's routing number.
  • last4: The last four digits of the bank account number.

Implementation

AccountData({
  required this.firstName,
  required this.lastName,
  required this.routingNumber,
  required this.last4,
});