encode<V> static method
Implementation
static V encode<V>(
PaymentLinksResourceCustomFieldsNumeric instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.maximumLength != null) {
container.encodeInt(
'maximum_length',
instance.maximumLength!,
);
}
if (instance.minimumLength != null) {
container.encodeInt(
'minimum_length',
instance.minimumLength!,
);
}
return container.value;
}