toJson method

Map<String, dynamic> toJson()

Implementation

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