CorsPolicy constructor
const
CorsPolicy({})
The main constructor.
Implementation
const CorsPolicy({
this.allowOrigins,
this.allowMethods,
this.allowHeaders,
this.exposeHeaders,
this.maxAge,
this.allowCredentials,
});