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