CORSConfig constructor

const CORSConfig({
  1. bool enabled = true,
  2. dynamic origin,
  3. dynamic methods,
  4. dynamic headers,
  5. dynamic exposeHeaders,
  6. bool? credentials,
  7. num? maxAge,
})

Implementation

const CORSConfig({
  this.enabled = true,
  this.origin,
  this.methods,
  this.headers,
  this.exposeHeaders,
  this.credentials,
  this.maxAge,
});