CompliantSummary.fromJson constructor

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

Implementation

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