encode<V> static method
Implementation
static V encode<V>(
PaymentIntentNetworkOptions instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.cartesBancaires != null) {
PaymentIntentCartesBancaires.encode(
instance.cartesBancaires!,
container.nestedSingleValueContainer('cartes_bancaires').encoder,
);
}
return container.value;
}