encode<V> static method
Implementation
static V encode<V>(
PaymentLinkCreateOptionsRestrictions instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
PaymentLinkCompletedSessions.encode(
instance.completedSessions,
container.nestedSingleValueContainer('completed_sessions').encoder,
);
return container.value;
}