encode<V> static method
Implementation
static V encode<V>(
ClimateProductPricingUpdatedEvent instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
ClimateProduct.encode(
instance.object,
container.nestedSingleValueContainer('object').encoder,
);
container.encodeString(
'type',
'climate.product.pricing_updated',
);
return container.value;
}