encode<V> static method
Implementation
static V encode<V>(
IssuingDisputeFraudulentEvidence instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.additionalDocumentation != null) {
FileOrId.encode(
instance.additionalDocumentation!,
container
.nestedSingleValueContainer('additional_documentation')
.encoder,
);
}
if (instance.explanation != null) {
container.encodeString(
'explanation',
instance.explanation!,
);
}
return container.value;
}