toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregates != null)
        'aggregates': aggregates!.map((value) => value.toJson()).toList(),
      if (dimensionHeaders != null)
        'dimensionHeaders':
            dimensionHeaders!.map((value) => value.toJson()).toList(),
      if (kind != null) 'kind': kind!,
      if (metadata != null) 'metadata': metadata!.toJson(),
      if (metricHeaders != null)
        'metricHeaders':
            metricHeaders!.map((value) => value.toJson()).toList(),
      if (pivotHeaders != null)
        'pivotHeaders': pivotHeaders!.map((value) => value.toJson()).toList(),
      if (propertyQuota != null) 'propertyQuota': propertyQuota!.toJson(),
      if (rows != null) 'rows': rows!.map((value) => value.toJson()).toList(),
    };