NonCompliantSummary.fromJson constructor

NonCompliantSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NonCompliantSummary.fromJson(Map<String, dynamic> json) {
  return NonCompliantSummary(
    nonCompliantCount: json['NonCompliantCount'] as int?,
    severitySummary: json['SeveritySummary'] != null
        ? SeveritySummary.fromJson(
            json['SeveritySummary'] as Map<String, dynamic>)
        : null,
  );
}