| |
| |
| |
| # ComponentContext constructor |
| |
| |
| |
| |
| *[<Null safety>](https://dart.dev/null-safety)* |
| |
| |
| |
| ComponentContext({required [Incoming](../../package-fuchsia_services_services/Incoming-class.md) svc, required [Outgoing](../../package-fuchsia_services_services/Outgoing-class.md) outgoing}) |
| |
| |
| <p>This constructor is used by the modular test harness, but should not be |
| used elsewhere. <a href="../../package-fuchsia_services_services/ComponentContext/ComponentContext.create.md">ComponentContext.create()</a> and |
| <a href="../../package-fuchsia_services_services/ComponentContext/ComponentContext.createAndServe.md">ComponentContext.createAndServe()</a> should typically be used instead.</p> |
| |
| |
| |
| ## Implementation |
| |
| ```dart |
| ComponentContext({ |
| required this.svc, |
| required this.outgoing, |
| }); |
| ``` |
| |
| |
| |
| |
| |
| |
| |