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