CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer.fromJson constructor

CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer.fromJson(
  1. Object? json
)

Implementation

factory CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer(
    network: map['network'] == null
        ? null
        : CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransferNetwork
            .fromJson(map['network']),
    senderName:
        map['sender_name'] == null ? null : (map['sender_name'] as String),
  );
}