Summary.fromJson constructor
Implementation
factory Summary.fromJson(Map<String, dynamic> json) {
return Summary(
name: (json['name'] as String?)?.toFinding(),
reasonCodeSummaries: (json['reasonCodeSummaries'] as List?)
?.whereNotNull()
.map((e) => ReasonCodeSummary.fromJson(e as Map<String, dynamic>))
.toList(),
value: json['value'] as double?,
);
}