CustomerSettings.fromJson constructor

CustomerSettings.fromJson(
  1. Object? json
)

Implementation

factory CustomerSettings.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerSettings(
      reconciliationMode: map['reconciliation_mode'] == null
          ? null
          : CustomerReconciliationMode.fromJson(map['reconciliation_mode']));
}