toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (columnHeaders != null) 'columnHeaders': columnHeaders!,
      if (containsSampledData != null)
        'containsSampledData': containsSampledData!,
      if (id != null) 'id': id!,
      if (itemsPerPage != null) 'itemsPerPage': itemsPerPage!,
      if (kind != null) 'kind': kind!,
      if (nextLink != null) 'nextLink': nextLink!,
      if (previousLink != null) 'previousLink': previousLink!,
      if (profileInfo != null) 'profileInfo': profileInfo!,
      if (query != null) 'query': query!,
      if (rows != null) 'rows': rows!,
      if (sampleSize != null) 'sampleSize': sampleSize!,
      if (sampleSpace != null) 'sampleSpace': sampleSpace!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (totalResults != null) 'totalResults': totalResults!,
      if (totalsForAllResults != null)
        'totalsForAllResults': totalsForAllResults!,
    };