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