RouteCorsRule constructor
RouteCorsRule({})
Implementation
RouteCorsRule({
required this.allowedOrigins,
this.allowedMethods = const ['GET', 'HEAD'],
this.allowedHeaders = const [],
this.exposeHeaders = const [],
this.maxAgeSeconds = 3600,
this.allowCredentials = false,
});