CORSConfig constructor

const CORSConfig({
  1. dynamic allowOrigin,
  2. dynamic allowMethods,
  3. dynamic allowHeaders,
  4. dynamic exposeHeaders,
  5. bool? allowCredentials,
  6. int? maxAge,
})

Implementation

const CORSConfig({
  this.allowOrigin,
  this.allowMethods,
  this.allowHeaders,
  this.exposeHeaders,
  this.allowCredentials,
  this.maxAge,
});