CorsOriginController constructor
CorsOriginController({})
Implementation
CorsOriginController({
this.allowedOrigins = const {'*'},
this.allowedHeaders = headers,
this.allowedMethods = methods,
this.maxAge = const Duration(hours: 24),
this.allowCredentials = true,
this.exposeHeaders = '',
});