encode<V> static method
Implementation
static V encode<V>(
AccountSessionAccountOnboarding instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeBool(
'enabled',
instance.enabled,
);
if (instance.features != null) {
container.encodePrimitive(
'features',
instance.features!,
);
}
return container.value;
}