DescribeAutomationStepExecutionsResult.fromJson constructor

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

Implementation

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