toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    if (hideNonSelectableCategories != null) 'hideNonSelectableCategories': hideNonSelectableCategories,
    if (hideUnavailableLegendItems != null) 'hideUnavailableLegendItems': hideUnavailableLegendItems,
    if (hidePricing != null) 'hidePricing': hidePricing,
    if (hideCategoryName != null) 'hideCategoryName': hideCategoryName,
  };
}