createHttpServer static method

Future<Http> createHttpServer({
  1. String host = 'localhost',
  2. int port = 8080,
})

Implementation

static Future<Http> createHttpServer({
  String host = 'localhost',
  int port = 8080,
}) =>
    Http.createServer(host: host, port: port);