encode<V> static method
Implementation
static V encode<V>(
SessionPix instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.expiresAfterSeconds != null) {
container.encodeInt(
'expires_after_seconds',
instance.expiresAfterSeconds!,
);
}
return container.value;
}