encode<V> static method
Implementation
static V encode<V>(
SettingsDefaults instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.taxBehavior != null) {
container.encodeString(
'tax_behavior',
instance.taxBehavior!,
);
}
if (instance.taxCode != null) {
container.encodeString(
'tax_code',
instance.taxCode!,
);
}
return container.value;
}