GetFindingsResponse.fromJson constructor

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

Implementation

factory GetFindingsResponse.fromJson(Map<String, dynamic> json) {
  return GetFindingsResponse(
    findings: (json['findings'] as List)
        .whereNotNull()
        .map((e) => Finding.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}