toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accountId != null) 'accountId': accountId!,
if (cloudStorageDownloadDetails != null)
'cloudStorageDownloadDetails': cloudStorageDownloadDetails!,
if (created != null) 'created': created!.toUtc().toIso8601String(),
if (dimensions != null) 'dimensions': dimensions!,
if (downloadType != null) 'downloadType': downloadType!,
if (driveDownloadDetails != null)
'driveDownloadDetails': driveDownloadDetails!,
if (endDate != null) 'end-date': endDate!,
if (filters != null) 'filters': filters!,
if (id != null) 'id': id!,
if (kind != null) 'kind': kind!,
if (metrics != null) 'metrics': metrics!,
if (profileId != null) 'profileId': profileId!,
if (segment != null) 'segment': segment!,
if (selfLink != null) 'selfLink': selfLink!,
if (startDate != null) 'start-date': startDate!,
if (status != null) 'status': status!,
if (title != null) 'title': title!,
if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
if (webPropertyId != null) 'webPropertyId': webPropertyId!,
};