CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceJpBankTransfer.fromJson constructor

CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceJpBankTransfer.fromJson(
  1. Object? json
)

Implementation

factory CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceJpBankTransfer.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceJpBankTransfer(
    senderBank:
        map['sender_bank'] == null ? null : (map['sender_bank'] as String),
    senderBranch: map['sender_branch'] == null
        ? null
        : (map['sender_branch'] as String),
    senderName:
        map['sender_name'] == null ? null : (map['sender_name'] as String),
  );
}