toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (lang != null) 'lang': lang!,
  if (previewImageUrl != null) 'previewImageUrl': previewImageUrl!,
  if (snippet != null) 'snippet': snippet!,
  if (snippetUrl != null) 'snippetUrl': snippetUrl!,
  if (title != null) 'title': title!,
};