encode<V> static method
V
encode<V>(
- CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer instance,
- Encoder<
V> encoder
Implementation
static V encode<V>(
CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer
instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.network != null) {
container.encodeString(
'network',
instance.network!,
);
}
if (instance.senderName != null) {
container.encodeString(
'sender_name',
instance.senderName!,
);
}
return container.value;
}