encode<V> static method
Implementation
static V encode<V>(
TreasuryReceivedCreditsResourceStatusTransitions instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.postedAt != null) {
container.encodeDateTime(
'posted_at',
instance.postedAt!,
);
}
return container.value;
}