encode<V> static method

V encode<V>(
  1. CustomerSettings instance,
  2. Encoder<V> encoder
)

Implementation

static V encode<V>(
  CustomerSettings instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  if (instance.reconciliationMode != null) {
    container.encodeString(
      'reconciliation_mode',
      instance.reconciliationMode!,
    );
  }
  return container.value;
}