toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (audits != null) 'audits': audits!,
  if (categories != null) 'categories': categories!,
  if (categoryGroups != null) 'categoryGroups': categoryGroups!,
  if (configSettings != null) 'configSettings': configSettings!,
  if (entities != null) 'entities': entities!,
  if (environment != null) 'environment': environment!,
  if (fetchTime != null) 'fetchTime': fetchTime!,
  if (finalDisplayedUrl != null) 'finalDisplayedUrl': finalDisplayedUrl!,
  if (finalUrl != null) 'finalUrl': finalUrl!,
  if (fullPageScreenshot != null) 'fullPageScreenshot': fullPageScreenshot!,
  if (i18n != null) 'i18n': i18n!,
  if (lighthouseVersion != null) 'lighthouseVersion': lighthouseVersion!,
  if (mainDocumentUrl != null) 'mainDocumentUrl': mainDocumentUrl!,
  if (requestedUrl != null) 'requestedUrl': requestedUrl!,
  if (runWarnings != null) 'runWarnings': runWarnings!,
  if (runtimeError != null) 'runtimeError': runtimeError!,
  if (stackPacks != null) 'stackPacks': stackPacks!,
  if (timing != null) 'timing': timing!,
  if (userAgent != null) 'userAgent': userAgent!,
};