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