encode<V> static method

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

Implementation

static V encode<V>(
  FinancialAccountInboundTransfers instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  if (instance.ach != null) {
    FinancialAccountCardIssuing.encode(
      instance.ach!,
      container.nestedSingleValueContainer('ach').encoder,
    );
  }
  return container.value;
}