DescribeMaintenanceWindowsResult.fromJson constructor

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

Implementation

factory DescribeMaintenanceWindowsResult.fromJson(Map<String, dynamic> json) {
  return DescribeMaintenanceWindowsResult(
    nextToken: json['NextToken'] as String?,
    windowIdentities: (json['WindowIdentities'] as List?)
        ?.whereNotNull()
        .map((e) =>
            MaintenanceWindowIdentity.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}