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