encode<V> static method
Implementation
static V encode<V>(
TerminalReaderReaderResourceProcessSetupConfig instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.enableCustomerCancellation != null) {
container.encodeBool(
'enable_customer_cancellation',
instance.enableCustomerCancellation!,
);
}
return container.value;
}