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