DescribePendingMaintenanceActionsResponse.fromJson constructor

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

Implementation

factory DescribePendingMaintenanceActionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribePendingMaintenanceActionsResponse(
    marker: json['Marker'] as String?,
    pendingMaintenanceActions: (json['PendingMaintenanceActions'] as List?)
        ?.whereNotNull()
        .map((e) => ResourcePendingMaintenanceActions.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}