toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (contents != null) 'contents': contents!,
  if (errors != null) 'errors': errors!,
  if (isPending != null) 'isPending': isPending!,
  if (isSitemapsIndex != null) 'isSitemapsIndex': isSitemapsIndex!,
  if (lastDownloaded != null) 'lastDownloaded': lastDownloaded!,
  if (lastSubmitted != null) 'lastSubmitted': lastSubmitted!,
  if (path != null) 'path': path!,
  if (type != null) 'type': type!,
  if (warnings != null) 'warnings': warnings!,
};