ScanReport.fromJson constructor
Implementation
factory ScanReport.fromJson(Map<String, dynamic> j) => ScanReport(
_objList(j['detections']).map(Detection.fromJson).toList(),
j['score'] == null ? null : Score.fromJson(_obj(j['score'])),
_objList(j['hints']).map(Hint.fromJson).toList(),
j['alpha'] == null ? null : AlphaReport.fromJson(_obj(j['alpha'])),
PipelineTrace.fromJson(_obj(j['trace'])),
Versions.fromJson(_obj(j['versions'])),
j,
);