toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (axis != null) 'axis': axis!,
      if (chartType != null) 'chartType': chartType!,
      if (compareMode != null) 'compareMode': compareMode!,
      if (domains != null) 'domains': domains!,
      if (headerCount != null) 'headerCount': headerCount!,
      if (interpolateNulls != null) 'interpolateNulls': interpolateNulls!,
      if (legendPosition != null) 'legendPosition': legendPosition!,
      if (lineSmoothing != null) 'lineSmoothing': lineSmoothing!,
      if (series != null) 'series': series!,
      if (stackedType != null) 'stackedType': stackedType!,
      if (threeDimensional != null) 'threeDimensional': threeDimensional!,
      if (totalDataLabel != null) 'totalDataLabel': totalDataLabel!,
    };