ReceivedCreditUsBankAccount.fromJson constructor

ReceivedCreditUsBankAccount.fromJson(
  1. Object? json
)

Implementation

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