toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (colorData != null) 'colorData': colorData!,
      if (colorScale != null) 'colorScale': colorScale!,
      if (headerColor != null) 'headerColor': headerColor!,
      if (headerColorStyle != null) 'headerColorStyle': headerColorStyle!,
      if (hideTooltips != null) 'hideTooltips': hideTooltips!,
      if (hintedLevels != null) 'hintedLevels': hintedLevels!,
      if (labels != null) 'labels': labels!,
      if (levels != null) 'levels': levels!,
      if (maxValue != null) 'maxValue': maxValue!,
      if (minValue != null) 'minValue': minValue!,
      if (parentLabels != null) 'parentLabels': parentLabels!,
      if (sizeData != null) 'sizeData': sizeData!,
      if (textFormat != null) 'textFormat': textFormat!,
    };