encode<V> static method
Implementation
static V encode<V>(
CustomerSubscriptionResumedEvent instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
Subscription.encode(
instance.object,
container.nestedSingleValueContainer('object').encoder,
);
container.encodeString(
'type',
'customer.subscription.resumed',
);
return container.value;
}