encode<V> static method
Implementation
static V encode<V>(
PaymentPagesCheckoutSessionCustomFieldsLabel instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.custom != null) {
container.encodeString(
'custom',
instance.custom!,
);
}
container.encodeString(
'type',
'custom',
);
return container.value;
}