DescribeMaintenanceWindowExecutionsResult.fromJson constructor

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

Implementation

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