serveFromStartupInfo method

*[<Null safety>](https://dart.dev/null-safety)*

void serveFromStartupInfo ()

Implementation

void serveFromStartupInfo() {
  _ensureNotClosed();
  // No-op on non-fuchsia platforms to allow for host side tests.
  if (Platform.isFuchsia) {
    final outgoingServicesHandle = MxStartupInfo.takeOutgoingServices();
    serve(InterfaceRequest<Node>(Channel(outgoingServicesHandle)));
  }
}