CorsOptions constructor

CorsOptions({
  1. List<String> origin = const ["*"],
  2. List<String> methods = allMethods,
})

Implementation

CorsOptions({this.origin = const ["*"], this.methods = allMethods});