encode<V> static method
Implementation
static V encode<V>(
CouponAppliesTo instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeList(
'products',
(container) =>
instance.products.forEach((el) => container.encodeString(el)),
);
return container.value;
}