encode<V> static method
Implementation
static V encode<V>(
TreasuryInboundTransferFailedEvent instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
TreasuryInboundTransfer.encode(
instance.object,
container.nestedSingleValueContainer('object').encoder,
);
container.encodeString(
'type',
'treasury.inbound_transfer.failed',
);
return container.value;
}