BatchUpdateFindingsResponse.fromJson constructor
BatchUpdateFindingsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchUpdateFindingsResponse.fromJson(Map<String, dynamic> json) {
return BatchUpdateFindingsResponse(
processedFindings: (json['ProcessedFindings'] as List)
.whereNotNull()
.map((e) =>
AwsSecurityFindingIdentifier.fromJson(e as Map<String, dynamic>))
.toList(),
unprocessedFindings: (json['UnprocessedFindings'] as List)
.whereNotNull()
.map((e) => BatchUpdateFindingsUnprocessedFinding.fromJson(
e as Map<String, dynamic>))
.toList(),
);
}