encode<V> static method
Implementation
static V encode<V>(
IssuingPersonalizationDesignPreferences instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeBool(
'is_default',
instance.isDefault,
);
if (instance.isPlatformDefault != null) {
container.encodeBool(
'is_platform_default',
instance.isPlatformDefault!,
);
}
return container.value;
}