void listen({InternetAddress address, int port: 3000})

Starts the server.

Source

void listen({InternetAddress address, int port: 3000}) {
  runZoned(() async {
    await startServer(address, port);
  }, onError: _onError);
}