HttpRouteCorsPolicy constructor

HttpRouteCorsPolicy({
  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. String? maxAge,
})

Implementation

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