CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceGbBankTransfer.fromJson constructor
CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceGbBankTransfer.fromJson(
- Object? json
Implementation
factory CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceGbBankTransfer.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceGbBankTransfer(
accountNumberLast4: map['account_number_last4'] == null
? null
: (map['account_number_last4'] as String),
senderName:
map['sender_name'] == null ? null : (map['sender_name'] as String),
sortCode: map['sort_code'] == null ? null : (map['sort_code'] as String),
);
}