encode<V> static method
Implementation
static V encode<V>(
TreasuryDebitReversalCreatedEvent instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
TreasuryDebitReversal.encode(
instance.object,
container.nestedSingleValueContainer('object').encoder,
);
container.encodeString(
'type',
'treasury.debit_reversal.created',
);
return container.value;
}