DuxtServer constructor

DuxtServer({
  1. int port = 3000,
  2. String apiDir = 'server/api',
  3. String? staticDir,
  4. List<Middleware> middleware = const [],
})

Implementation

DuxtServer({
  this.port = 3000,
  this.apiDir = 'server/api',
  this.staticDir,
  this.middleware = const [],
});