toJson method

Map<String, dynamic> toJson()

Implementation

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