CorsPolicy constructor

CorsPolicy({
  1. bool? allowCredentials,
  2. List<String>? allowHeaders,
  3. List<String>? allowMethods,
  4. List<String>? allowOriginRegexes,
  5. List<String>? allowOrigins,
  6. bool? disabled,
  7. List<String>? exposeHeaders,
  8. int? maxAge,
})

Implementation

CorsPolicy({
  this.allowCredentials,
  this.allowHeaders,
  this.allowMethods,
  this.allowOriginRegexes,
  this.allowOrigins,
  this.disabled,
  this.exposeHeaders,
  this.maxAge,
});