> ## Documentation Index
> Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Compliance Deadlines

> Access compliance deadlines and enforcement dates with the Flutter SDK.

## Overview

Compliance deadlines track enforcement dates, transition periods, and regulatory milestones across all EU frameworks.

***

## Methods

### `deadlines()`

```dart theme={null}
Future<Page<ComplianceDeadline>> deadlines({String? frameworkSlug, int? page, int? perPage})
```

### `iterDeadlines()`

```dart theme={null}
Stream<ComplianceDeadline> iterDeadlines({String? frameworkSlug, int perPage = 20})
```

***

## Model

### `ComplianceDeadline`

| Field           | Type      | Description        |
| --------------- | --------- | ------------------ |
| `id`            | `int`     | Internal ID        |
| `frameworkSlug` | `String`  | Source framework   |
| `title`         | `String`  | Deadline name      |
| `description`   | `String?` | Detail description |
| `deadline`      | `String`  | ISO 8601 date      |
| `deadlineType`  | `String`  | Type of deadline   |

***

## Examples

### All upcoming deadlines

```dart theme={null}
await for (final d in client.compliance.iterDeadlines()) {
  print('[${d.frameworkSlug.toUpperCase()}] ${d.deadline} — ${d.title}');
}
```

### NIS2-specific deadlines

```dart theme={null}
await for (final d in client.compliance.iterDeadlines(frameworkSlug: 'nis2')) {
  print('${d.deadline}: ${d.title}');
}
```

### Paginated deadlines

```dart theme={null}
final page = await client.compliance.deadlines(frameworkSlug: 'dora');
print('${page.meta.total} DORA deadlines');
for (final d in page.data) {
  print('${d.deadline} — ${d.title}');
}
```
