encode<V> static method
Implementation
static V encode<V>(
PaymentMethodConfigurationAcssDebit instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.displayPreference != null) {
PaymentMethodConfigurationDisplayPreference.encode(
instance.displayPreference!,
container.nestedSingleValueContainer('display_preference').encoder,
);
}
return container.value;
}