encode<V> static method

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

Implementation

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