encode<V> static method
Implementation
static V encode<V>(
SourceTransactionPaperCheckData instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.availableAt != null) {
container.encodeString(
'available_at',
instance.availableAt!,
);
}
if (instance.invoices != null) {
container.encodeString(
'invoices',
instance.invoices!,
);
}
return container.value;
}