encode<V> static method
Implementation
static V encode<V>(
SessionRetention instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
PortalFlowsCouponOffer.encode(
instance.couponOffer,
container.nestedSingleValueContainer('coupon_offer').encoder,
);
container.encodeString(
'type',
'coupon_offer',
);
return container.value;
}