{"schemaVersion":1,"title":"Dart · Dartdoc","url":"https://appgram.github.io/docsy/versions/current/fr/dart-sdk","markdownUrl":"https://appgram.github.io/docsy/format-md/versions/current/fr/dart-sdk","jsonUrl":"https://appgram.github.io/docsy/agent/pages/versions/current/fr/dart-sdk.json","version":"current","locale":"fr","markdown":"# Dart · Dartdoc\n\nReal dart doc output from the checked-in dart fixture source. Generated artifacts, commands, versions, and SHA-256 hashes are recorded under sources/native. This is a teaching library, not a published SDK.\n\n> Source: https://appgram.github.io/docsy/versions/current/fr/dart-sdk  \n> Language: dart  \n> Symbols: 7 across 5 categories\n\n## Categories\n\n- [Constructors](#constructors) — 1 items\n- [Methods](#methods) — 3 items\n- [Properties](#properties) — 1 items\n- [Classes](#classes) — 1 items\n- [Enums](#enums) — 1 items\n\n## Constructors\n\n### `Greeter`  <sub>constructor</sub>\n\n```dart\nGreeter()\n```\n\n## Methods\n\n### `greet`  <sub>method</sub>\n\nGreet the reader called name .\n\n**Parameters**\n\n| Name | Type | Required | Description |\n\n| --- | --- | --- | --- |\n\n| `name` | `String` | ✓ |  |\n\n**Returns** — `String`\n\n```dart\nString greet( String name )\n```\n\n**Example**\n\n```dart\nGreeter().greet('Ada');\n```\n\n---\n\n### `greetChecked`  <sub>method</sub>\n\nReject an empty name . Throws ArgumentError when name is empty.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n\n| --- | --- | --- | --- |\n\n| `name` | `String` | ✓ |  |\n\n**Returns** — `String`\n\n```dart\nString greetChecked( String name )\n```\n\n---\n\n### `greetMany`  <sub>method</sub>\n\nGreet several readers while preserving input order.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n\n| --- | --- | --- | --- |\n\n| `names` | `List<String>` | ✓ |  |\n\n| `separator` | `String` |  |  |\n\n**Returns** — `String`\n\n```dart\nString greetMany( List<String> names, { String separator = ' / ', })\n```\n\n**Example**\n\n```dart\nGreeter().greetMany(['Ada', 'Linus'], separator: ' / ');\n```\n\n## Properties\n\n### `prefix`  <sub>property</sub>\n\nGreeting prefix used for future calls.\n\n**Returns** — `String`\n\n```dart\nString prefix getter/setter pair\n```\n\n## Classes\n\n### `Greeter`  <sub>class</sub>\n\nBuild personalized greetings without network access.\n\n```dart\n()\n```\n\n**Example**\n\n```dart\nfinal greeter = Greeter();\nprint(greeter.greet('Docsy'));\n```\n\n## Enums\n\n### `Mood`  <sub>enum</sub>\n\nSupported greeting moods.\n\n**Values** — `friendly`, `formal`\n\n```dart\nenum Mood\n```\n"}