AuditReport.fromJson constructor
AuditReport.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AuditReport.fromJson(Map<String, dynamic> json) {
return AuditReport(
credentials: json['credentials'] != null
? RiskReport.fromJson(json['credentials'])
: null,
database: json['database'] != null
? RiskReport.fromJson(json['database'])
: null,
filesystem: json['filesystem'] != null
? RiskReport.fromJson(json['filesystem'])
: null,
nodes: json['nodes'] != null
? RiskReport.fromJson(json['nodes'])
: null,
instance: json['instance'] != null
? RiskReport.fromJson(json['instance'])
: null,
);
}