Google celebrates Hispanic Heritage Month. See how.

serveFromStartupInfo method

*[<Null safety>](*

void serveFromStartupInfo ()

Serves root dir to the out/ directory.

This method should be called after all public services are added and may only be called once.


void serveFromStartupInfo() {
  // No-op on non-fuchsia platforms to allow for host side tests.
  if (Platform.isFuchsia) {
    final outgoingServicesHandle = MxStartupInfo.takeOutgoingServices();