PlatformInAppLocalhostServerCreationParams constructor

const PlatformInAppLocalhostServerCreationParams({
  1. int port = 8080,
  2. String directoryIndex = 'index.html',
  3. String documentRoot = './',
  4. bool shared = false,
})

Used by the platform implementation to create a new PlatformInAppLocalhostServer.

Implementation

const PlatformInAppLocalhostServerCreationParams({
  this.port = 8080,
  this.directoryIndex = 'index.html',
  this.documentRoot = './',
  this.shared = false,
});