start method

Future<void> start({
  1. int port = 8080,
  2. String? host,
})

Start the HTTP server on port and optional host.

Implementation

Future<void> start({int port = 8080, String? host}) async {
  _injectDevEndpoints();
  await _serverLifecycle.start(port: port, host: host);
}