CORSRule constructor

CORSRule({
  1. required List<String> allowedMethods,
  2. required List<String> allowedOrigins,
  3. List<String>? allowedHeaders,
  4. List<String>? exposeHeaders,
  5. int? maxAgeSeconds,
})

Implementation

CORSRule({
  required this.allowedMethods,
  required this.allowedOrigins,
  this.allowedHeaders,
  this.exposeHeaders,
  this.maxAgeSeconds,
});