toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endTime != null) 'endTime': endTime!,
      if (errorTrace != null) 'errorTrace': errorTrace!,
      if (executionState != null) 'executionState': executionState!,
      if (hasVulnerabilities != null)
        'hasVulnerabilities': hasVulnerabilities!,
      if (name != null) 'name': name!,
      if (progressPercent != null) 'progressPercent': progressPercent!,
      if (resultState != null) 'resultState': resultState!,
      if (startTime != null) 'startTime': startTime!,
      if (urlsCrawledCount != null) 'urlsCrawledCount': urlsCrawledCount!,
      if (urlsTestedCount != null) 'urlsTestedCount': urlsTestedCount!,
      if (warningTraces != null) 'warningTraces': warningTraces!,
    };