encode<V> static method
Implementation
static V encode<V>(
DisputeEvidenceDetails instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.dueBy != null) {
container.encodeDateTime(
'due_by',
instance.dueBy!,
);
}
container.encodeBool(
'has_evidence',
instance.hasEvidence,
);
container.encodeBool(
'past_due',
instance.pastDue,
);
container.encodeInt(
'submission_count',
instance.submissionCount,
);
return container.value;
}