GatewayConfig constructor

const GatewayConfig({
  1. bool enabled = false,
  2. int port = 8080,
  3. String address = '0.0.0.0',
  4. bool writable = false,
  5. bool enableCache = true,
  6. int cacheSize = 104857600,
})

Creates a new GatewayConfig.

Implementation

const GatewayConfig({
  this.enabled = false,
  this.port = 8080,
  this.address = '0.0.0.0',
  this.writable = false,
  this.enableCache = true,
  this.cacheSize = 104857600, // 100MB
});