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