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