SourceTransactionAchCreditTransferData.fromJson constructor

SourceTransactionAchCreditTransferData.fromJson(
  1. Object? json
)

Implementation

factory SourceTransactionAchCreditTransferData.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceTransactionAchCreditTransferData(
    customerData: map['customer_data'] == null
        ? null
        : (map['customer_data'] as String),
    fingerprint:
        map['fingerprint'] == null ? null : (map['fingerprint'] as String),
    last4: map['last4'] == null ? null : (map['last4'] as String),
    routingNumber: map['routing_number'] == null
        ? null
        : (map['routing_number'] as String),
  );
}