Metrics.fromJson constructor

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

Implementation

factory Metrics.fromJson(Map<String, dynamic> json) {
  return Metrics(
    findingsCount: json['FindingsCount'] as int?,
    meteredLinesOfCodeCount: json['MeteredLinesOfCodeCount'] as int?,
  );
}