DescribeAutomationExecutionsResult.fromJson constructor

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

Implementation

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