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