> ## 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.

# Tags

> Access semantic tags with the Flutter SDK.

## Overview

Tags provide semantic classification for articles across all frameworks. Use them to find related articles across different regulations.

***

## Methods

### `list()`

```dart theme={null}
Future<Page<Tag>> list({int? page, int? perPage})
```

### `get()`

```dart theme={null}
Future<Tag> get(String slug)
```

### `iter()`

```dart theme={null}
Stream<Tag> iter({int perPage = 20})
```

***

## Model

### `Tag`

| Field         | Type           | Description           |
| ------------- | -------------- | --------------------- |
| `id`          | `int`          | Internal ID           |
| `slug`        | `String`       | URL-safe identifier   |
| `name`        | `String`       | Display name          |
| `description` | `String?`      | Description           |
| `keywords`    | `List<String>` | Associated keywords   |
| `color`       | `String?`      | Hex color for display |
| `createdAt`   | `String`       | ISO 8601 timestamp    |

***

## Examples

### List all tags

```dart theme={null}
final page = await client.tags.list();
for (final t in page.data) {
  print('${t.name} — ${t.slug}');
}
```

### Get a specific tag

```dart theme={null}
final tag = await client.tags.get('data-protection');
print('Keywords: ${tag.keywords.join(', ')}');
```

### Auto-paginate

```dart theme={null}
await for (final t in client.tags.iter()) {
  print(t.name);
}
```
