startServer method

Future<void> startServer()

Implementation

Future<void> startServer() async {
  final app = Application._instance as _PharaohNextImpl;

  await app
      ._createPharaohInstance(onException: onApplicationException)
      .listen(port: app.port);
}