TreasuryFinancialAccountsResourceAbaRecord.fromJson constructor

TreasuryFinancialAccountsResourceAbaRecord.fromJson(
  1. Object? json
)

Implementation

factory TreasuryFinancialAccountsResourceAbaRecord.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasuryFinancialAccountsResourceAbaRecord(
    accountHolderName: (map['account_holder_name'] as String),
    accountNumber: map['account_number'] == null
        ? null
        : (map['account_number'] as String),
    accountNumberLast4: (map['account_number_last4'] as String),
    bankName: (map['bank_name'] as String),
    routingNumber: (map['routing_number'] as String),
  );
}