toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (columnName != null) 'columnName': columnName!,
  if (customDimensionName != null)
    'customDimensionName': customDimensionName!,
  if (customMetricName != null) 'customMetricName': customMetricName!,
  if (endDate != null) 'endDate': endDate!,
  if (groupByColumn != null) 'groupByColumn': groupByColumn!,
  if (headerText != null) 'headerText': headerText!,
  if (platformSource != null) 'platformSource': platformSource!,
  if (productReportPerspective != null)
    'productReportPerspective': productReportPerspective!,
  if (savedColumnName != null) 'savedColumnName': savedColumnName!,
  if (startDate != null) 'startDate': startDate!,
};