toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectorLineStyle != null)
        'connectorLineStyle': connectorLineStyle!,
      if (domain != null) 'domain': domain!,
      if (firstValueIsTotal != null) 'firstValueIsTotal': firstValueIsTotal!,
      if (hideConnectorLines != null)
        'hideConnectorLines': hideConnectorLines!,
      if (series != null) 'series': series!,
      if (stackedType != null) 'stackedType': stackedType!,
      if (totalDataLabel != null) 'totalDataLabel': totalDataLabel!,
    };