CodeCoverageReportSummary.fromJson constructor
CodeCoverageReportSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CodeCoverageReportSummary.fromJson(Map<String, dynamic> json) {
return CodeCoverageReportSummary(
branchCoveragePercentage: json['branchCoveragePercentage'] as double?,
branchesCovered: json['branchesCovered'] as int?,
branchesMissed: json['branchesMissed'] as int?,
lineCoveragePercentage: json['lineCoveragePercentage'] as double?,
linesCovered: json['linesCovered'] as int?,
linesMissed: json['linesMissed'] as int?,
);
}