CorsConfig constructor

const CorsConfig({
  1. required List<String> allowedOrigins,
  2. required List<String> allowedMethods,
  3. required List<String> allowedHeaders,
  4. required bool credentials,
})

Implementation

const CorsConfig({
  required this.allowedOrigins,
  required this.allowedMethods,
  required this.allowedHeaders,
  required this.credentials,
});