encode<V> static method
Implementation
static V encode<V>(
AccountDashboardSettings instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.displayName != null) {
container.encodeString(
'display_name',
instance.displayName!,
);
}
if (instance.timezone != null) {
container.encodeString(
'timezone',
instance.timezone!,
);
}
return container.value;
}