encode<V> static method

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

Implementation

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