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