DescribeRemediationExecutionStatusResponse.fromJson constructor

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

Implementation

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