CORSConfiguration constructor

CORSConfiguration({
  1. bool allowCredentials,
  2. List<String> allowedHeaders,
  3. List<HTTPMethod> allowedMethods,
  4. List<String> allowedOrigins,
  5. bool debug,
  6. List<String> exposedHeaders,
  7. num preflightMaxAgeInSeconds,
})

Implementation

CORSConfiguration(
    {this.allowCredentials,
    this.allowedHeaders,
    this.allowedMethods,
    this.allowedOrigins,
    this.debug,
    this.exposedHeaders,
    this.preflightMaxAgeInSeconds});