toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cacheId != null) 'cacheId': cacheId!,
  if (displayLink != null) 'displayLink': displayLink!,
  if (fileFormat != null) 'fileFormat': fileFormat!,
  if (formattedUrl != null) 'formattedUrl': formattedUrl!,
  if (htmlFormattedUrl != null) 'htmlFormattedUrl': htmlFormattedUrl!,
  if (htmlSnippet != null) 'htmlSnippet': htmlSnippet!,
  if (htmlTitle != null) 'htmlTitle': htmlTitle!,
  if (image != null) 'image': image!,
  if (kind != null) 'kind': kind!,
  if (labels != null) 'labels': labels!,
  if (link != null) 'link': link!,
  if (mime != null) 'mime': mime!,
  if (pagemap != null) 'pagemap': pagemap!,
  if (snippet != null) 'snippet': snippet!,
  if (title != null) 'title': title!,
};