encode<V> static method
Implementation
static V encode<V>(
TreasuryFinancialAccountClosedEvent instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
TreasuryFinancialAccount.encode(
instance.object,
container.nestedSingleValueContainer('object').encoder,
);
container.encodeString(
'type',
'treasury.financial_account.closed',
);
return container.value;
}