ListFindingsResponse.fromJson constructor

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

Implementation

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