| |
| |
| |
| # serve method |
| |
| |
| |
| |
| *[<Null safety>](https://dart.dev/null-safety)* |
| |
| |
| |
| |
| void serve |
| ([Outgoing](../../package-fuchsia_services_services/Outgoing-class.md) outgoing) |
| |
| |
| |
| |
| |
| <p>Exposes the Agent's <code>fidl.Agent</code> instance to the Outgoing directory. In |
| other words, advertises this as an <code>fidl.Agent</code> to the rest of the system |
| via <a href="../../package-fuchsia_services_services/Outgoing-class.md">Outgoing</a>.</p> |
| <p>This class should be called before the Outgoing directory is served.</p> |
| |
| |
| |
| ## Implementation |
| |
| ```dart |
| void serve(Outgoing outgoing); |
| ``` |
| |
| |
| |
| |
| |
| |
| |