toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dataSourceColumnReference != null)
        'dataSourceColumnReference': dataSourceColumnReference!,
      if (groupLimit != null) 'groupLimit': groupLimit!,
      if (groupRule != null) 'groupRule': groupRule!,
      if (label != null) 'label': label!,
      if (repeatHeadings != null) 'repeatHeadings': repeatHeadings!,
      if (showTotals != null) 'showTotals': showTotals!,
      if (sortOrder != null) 'sortOrder': sortOrder!,
      if (sourceColumnOffset != null)
        'sourceColumnOffset': sourceColumnOffset!,
      if (valueBucket != null) 'valueBucket': valueBucket!,
      if (valueMetadata != null) 'valueMetadata': valueMetadata!,
    };