ListAuditMitigationActionsExecutionsResponse.fromJson constructor

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

Implementation

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