toJson method
Implementation
Map<String, dynamic> toJson() {
final defaultValue = this.defaultValue;
final facetEnabled = this.facetEnabled;
final resultEnabled = this.resultEnabled;
final searchEnabled = this.searchEnabled;
return {
if (defaultValue != null) 'DefaultValue': defaultValue,
if (facetEnabled != null) 'FacetEnabled': facetEnabled,
if (resultEnabled != null) 'ResultEnabled': resultEnabled,
if (searchEnabled != null) 'SearchEnabled': searchEnabled,
};
}