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