encode<V> static method

V encode<V>(
  1. TreasuryInboundTransfersResourceInboundTransferResourceLinkedFlows instance,
  2. Encoder<V> encoder
)

Implementation

static V encode<V>(
  TreasuryInboundTransfersResourceInboundTransferResourceLinkedFlows instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  if (instance.receivedDebit != null) {
    container.encodeString(
      'received_debit',
      instance.receivedDebit!,
    );
  }
  return container.value;
}