toJson method

Map<String, dynamic> toJson()

Implementation

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