encode<V> static method
Implementation
static V encode<V>(
CustomerCashBalance instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.settings != null) {
CustomerSettings.encode(
instance.settings!,
container.nestedSingleValueContainer('settings').encoder,
);
}
return container.value;
}