encode<V> static method
Implementation
static V encode<V>(
TokenAdditionalTosAcceptances instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.account != null) {
PersonAccount.encode(
instance.account!,
container.nestedSingleValueContainer('account').encoder,
);
}
return container.value;
}