toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (columnName != null) {
    _json["columnName"] = columnName;
  }
  if (customDimensionName != null) {
    _json["customDimensionName"] = customDimensionName;
  }
  if (customMetricName != null) {
    _json["customMetricName"] = customMetricName;
  }
  if (endDate != null) {
    _json["endDate"] = endDate;
  }
  if (groupByColumn != null) {
    _json["groupByColumn"] = groupByColumn;
  }
  if (headerText != null) {
    _json["headerText"] = headerText;
  }
  if (platformSource != null) {
    _json["platformSource"] = platformSource;
  }
  if (productReportPerspective != null) {
    _json["productReportPerspective"] = productReportPerspective;
  }
  if (savedColumnName != null) {
    _json["savedColumnName"] = savedColumnName;
  }
  if (startDate != null) {
    _json["startDate"] = startDate;
  }
  return _json;
}