Cors constructor

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

Implementation

Cors({
  this.allowCredentials,
  this.allowHeaders,
  this.allowMethods,
  this.allowOrigins,
  this.exposeHeaders,
  this.maxAge,
});