ListAuditFindingsResponse.fromJson constructor

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

Implementation

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