encode<V> static method
Implementation
static V encode<V>(
SetupIntentPaymentMethodOptionsSepaDebit instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.mandateOptions != null) {
SetupIntentPaymentMethodOptionsMandateOptionsSepaDebit.encode(
instance.mandateOptions!,
container.nestedSingleValueContainer('mandate_options').encoder,
);
}
return container.value;
}